github.com/mboersma/deis@v1.13.4/registry/Dockerfile (about) 1 FROM alpine:3.4 2 3 # install common packages 4 RUN apk add --no-cache curl bash sudo 5 6 # install etcdctl 7 RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/get-deis/etcdctl-v0.4.9 \ 8 && chmod +x /usr/local/bin/etcdctl 9 10 # install confd 11 RUN curl -sSL -o /usr/local/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.10.0/confd-0.10.0-linux-amd64 \ 12 && chmod +x /usr/local/bin/confd 13 14 ENV DOCKER_REGISTRY_CONFIG /docker-registry/config/config.yml 15 ENV SETTINGS_FLAVOR deis 16 17 # define the execution environment 18 WORKDIR /app 19 CMD ["/app/bin/boot"] 20 EXPOSE 5000 21 22 ADD build.sh /app/build.sh 23 24 RUN DOCKER_BUILD=true /app/build.sh 25 26 ADD . /app 27 28 ENV DEIS_RELEASE 1.13.4