github.com/mboersma/deis@v1.13.4/router/Dockerfile (about)

     1  FROM alpine:3.4
     2  
     3  # install common packages
     4  RUN apk add --no-cache \
     5  	bash \
     6  	curl \
     7  	geoip \
     8  	libssl1.0 \
     9  	openssl \
    10  	pcre \
    11  	sudo
    12  
    13  # install confd
    14  RUN curl -sSL -o /usr/local/bin/confd https://s3-us-west-2.amazonaws.com/opdemand/confd-git-73f7489 \
    15    && chmod +x /usr/local/bin/confd
    16  
    17  # add nginx user
    18  RUN addgroup -S nginx && \
    19    adduser -S -G nginx -H -h /opt/nginx -s /sbin/nologin -D nginx
    20  
    21  COPY rootfs /
    22  
    23  # compile nginx from source
    24  RUN build
    25  
    26  CMD ["boot"]
    27  EXPOSE 80 2222 9090
    28  
    29  ENV DEIS_RELEASE 1.13.4