github.com/ahjdzx/deis@v1.1.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://s3-us-west-2.amazonaws.com/opdemand/confd-v0.5.0-json \
    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