| 1234567891011121314151617181920212223 | 
							- FROM alpine:edge
 
- LABEL maintainer="dev@jpillora.com"
 
- # webproc release settings
 
- ENV WEBPROC_VERSION 0.1.9
 
- ENV WEBPROC_URL https://github.com/jpillora/webproc/releases/download/$WEBPROC_VERSION/webproc_linux_amd64.gz
 
- # fetch dnsmasq and webproc binary
 
- RUN apk update \
 
- 	&& apk --no-cache add dnsmasq \
 
- 	&& apk add --no-cache --virtual .build-deps curl \
 
- 	&& curl -sL $WEBPROC_URL | gzip -d - > /usr/local/bin/webproc \
 
- 	&& chmod +x /usr/local/bin/webproc \
 
- 	&& apk del .build-deps
 
- #configure dnsmasq
 
- run mkdir -p /etc/default/
 
- run mkdir -p /app/data/
 
- RUN echo -e "ENABLED=1\nIGNORE_RESOLVCONF=yes" > /etc/default/dnsmasq
 
- #COPY dnsmasq.conf /etc/dnsmasq.conf
 
- RUN rm /etc/dnsmasq.conf
 
- RUN ln -s /app/data/dnsmasq.conf /etc/dnsmasq.conf
 
- #run!
 
- ENTRYPOINT ["webproc","--config","/etc/dnsmasq.conf","--","dnsmasq","--no-daemon"]
 
 
  |