github.com/epicpaas/deis@v1.0.2-0.20141114233758-6bbccb748f60/router/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 confd
     9  RUN curl -sSL -o /usr/local/bin/confd https://s3-us-west-2.amazonaws.com/opdemand/confd-git-b8e693c \
    10      && chmod +x /usr/local/bin/confd
    11  
    12  # install common packages
    13  RUN apt-get update && apt-get install -y libgeoip1
    14  
    15  WORKDIR /app
    16  
    17  EXPOSE 80 2222
    18  
    19  CMD ["/app/bin/boot"]
    20  
    21  ADD . /app
    22  
    23  ADD nginx.tgz /opt/nginx
    24  
    25  RUN rm nginx.tgz