github.com/mgoltzsche/ctnr@v0.7.1-alpha/image/builder/dockerfile/Dockerfile-ref (about)

     1  FROM alpine:3.7
     2  #as first
     3  ARG TESTARG1
     4  ARG TESTARG2=argval
     5  LABEL maintainer Max Goltzsche "max.goltzsche@gmail.com"
     6  LABEL com.github.mgoltzsche.ctnr.test.label1="test value1"
     7  LABEL "com.github.mgoltzsche.ctnr.test.label2"="test value2"
     8  ENV CONFIGX configxval
     9  ENV CFG1=val1 CFG2="$TESTARG2 suffix"
    10  RUN set -x \
    11  	&& apk add --update --no-cache nginx
    12  COPY --chown=root:root entrypoint.sh *.conf /
    13  EXPOSE 80 443/tcp
    14  ENTRYPOINT echo hello
    15  ENTRYPOINT [ "/entrypoint.sh" ]
    16  
    17  FROM alpine:3.7
    18  ENTRYPOINT [ "/usr/bin/nginx", "-c" ]
    19  STOPSIGNAL 9