github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/kettle/Dockerfile (about)

     1  FROM ubuntu
     2  
     3  RUN apt-get update && apt-get install -y tzdata curl pv time sqlite3 python-pip && apt-get clean
     4  
     5  RUN curl -fsSL https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.8-1-linux_x86_64-portable.tar.bz2 | tar xj -C opt
     6  RUN ln -s /opt/pypy*/bin/pypy /usr/bin
     7  
     8  ADD requirements.txt /kettle/
     9  RUN pip install -r /kettle/requirements.txt
    10  
    11  RUN curl -o installer https://sdk.cloud.google.com && bash installer --disable-prompts --install-dir=/ && rm installer && ln -s /google-cloud-sdk/bin/* /bin/
    12  
    13  ENV KETTLE_DB=/data/build.db
    14  ENV TZ=America/Los_Angeles
    15  
    16  ADD *.py schema.json runner.sh /kettle/
    17  ADD buckets.yaml /
    18  
    19  CMD ["/kettle/runner.sh"]
    20  VOLUME ["/data"]