docker-pdns/pdns-admin-static/Dockerfile
Peter Schiffer e10bf8f114 Update images
* move to Fedora 27
* use proper link for pdns-admin source
2017-11-26 00:03:36 +01:00

12 lines
472 B
Docker

FROM nginx:1.12-alpine
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com>
RUN apk add --no-cache curl
RUN mkdir -p /opt/powerdns-admin \
&& curl -sSL https://git.0x97.io/0x97/powerdns-admin/repository/master/archive.tar.gz \
| tar -xzC /opt/powerdns-admin --strip 1 \
&& find /opt/powerdns-admin -path /opt/powerdns-admin/app/static -prune -o -type f -exec rm -f {} + \
&& chown -R root: /opt/powerdns-admin
COPY pdns-nginx.conf /etc/nginx/conf.d/default.conf