github.com/sbuss/deis@v1.6.1/registry/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://github.com/kelseyhightower/confd/releases/download/v0.9.0/confd-0.9.0-linux-amd64 \ 14 && chmod +x /usr/local/bin/confd 15 16 ENV DOCKER_REGISTRY_CONFIG /docker-registry/config/config.yml 17 ENV SETTINGS_FLAVOR deis 18 19 # define the execution environment 20 WORKDIR /app 21 CMD ["/app/bin/boot"] 22 EXPOSE 5000 23 24 ADD build.sh /app/build.sh 25 26 RUN DOCKER_BUILD=true /app/build.sh 27 28 ADD . /app 29 30 ENV DEIS_RELEASE 1.6.1