Updated alpine, webproc & maintainer. Added expose
This commit is contained in:
parent
657dbac14d
commit
b075e26da9
11
Dockerfile
11
Dockerfile
@ -1,9 +1,9 @@
|
|||||||
FROM alpine:3.8 as build
|
FROM alpine:3.11 as build
|
||||||
MAINTAINER David Chidell (dchidell@cisco.com)
|
LABEL maintainer="David Chidell (dchidell@cisco.com)"
|
||||||
|
|
||||||
FROM build as webproc
|
FROM build as webproc
|
||||||
ENV WEBPROC_VERSION 0.2.2
|
ENV WEBPROC_VERSION 0.3.0
|
||||||
ENV WEBPROC_URL https://github.com/jpillora/webproc/releases/download/$WEBPROC_VERSION/webproc_linux_amd64.gz
|
ENV WEBPROC_URL https://github.com/jpillora/webproc/releases/download/v${WEBPROC_VERSION}/webproc_${WEBPROC_VERSION}_linux_amd64.gz
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
RUN curl -sL $WEBPROC_URL | gzip -d - > /usr/local/bin/webproc
|
RUN curl -sL $WEBPROC_URL | gzip -d - > /usr/local/bin/webproc
|
||||||
RUN chmod +x /usr/local/bin/webproc
|
RUN chmod +x /usr/local/bin/webproc
|
||||||
@ -11,4 +11,5 @@ RUN chmod +x /usr/local/bin/webproc
|
|||||||
FROM build as dnsmasq
|
FROM build as dnsmasq
|
||||||
RUN apk --no-cache add dnsmasq
|
RUN apk --no-cache add dnsmasq
|
||||||
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
|
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
|
||||||
ENTRYPOINT ["webproc","--on-exit","restart","--config","/etc/dnsmasq.conf,/etc/hosts,/etc/resolv.conf","--","dnsmasq","-k","--log-facility=-"]
|
ENTRYPOINT ["webproc","--on-exit","restart","-c","/etc/dnsmasq.conf,/etc/hosts,/etc/resolv.conf","--","dnsmasq","-k","--log-facility=-"]
|
||||||
|
EXPOSE 53/udp 8080
|
||||||
|
Loading…
x
Reference in New Issue
Block a user