github.com/inflatablewoman/deis@v1.0.1-0.20141111034523-a4511c46a6ce/database/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 ADD build.sh /tmp/build.sh 17 RUN DOCKER_BUILD=true /tmp/build.sh 18 19 # define the execution environment 20 WORKDIR /app 21 CMD ["/app/bin/boot"] 22 EXPOSE 5432 23 ADD . /app