github.com/amrnt/deis@v1.3.1/controller/Dockerfile (about)

     1  FROM ubuntu-debootstrap:14.04
     2  
     3  ENV DEBIAN_FRONTEND noninteractive
     4  
     5  # install common packages
     6  RUN apt-get update && apt-get install -y curl net-tools sudo
     7  
     8  # install etcdctl
     9  RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/opdemand/etcdctl-v0.4.6 \
    10      && chmod +x /usr/local/bin/etcdctl
    11  
    12  # install confd
    13  RUN curl -sSL -o /usr/local/bin/confd https://s3-us-west-2.amazonaws.com/opdemand/confd-v0.5.0-json \
    14      && chmod +x /usr/local/bin/confd
    15  
    16  # define execution environment
    17  CMD ["/app/bin/boot"]
    18  EXPOSE 8000
    19  
    20  # define work environment
    21  WORKDIR /app
    22  
    23  ADD build.sh /app/tmp/build.sh
    24  
    25  ADD requirements.txt /app/requirements.txt
    26  
    27  RUN DOCKER_BUILD=true /app/tmp/build.sh
    28  
    29  ADD . /app
    30  
    31  # Create static resources
    32  RUN /app/manage.py collectstatic --settings=deis.settings --noinput
    33  
    34  ENV DEIS_RELEASE 1.3.1
    35