Merge pull request #9 from tcely/patch-2

Upgrade packages before adding bind - while not per "docker best practices", it absolutely makes sense here since so few packages are used, and generally you want the libraries/dependencies for bind to be as updated as possible.
This commit is contained in:
Ventz Petkov 2018-01-24 12:02:45 -05:00 committed by GitHub
commit dbce9eb957
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:latest FROM alpine:latest
EXPOSE 53 53/udp EXPOSE 53 53/udp
RUN apk --update add bind RUN apk --update upgrade && apk add bind
RUN mkdir -m 0755 -p /var/run/named && chown -R root:named /var/run/named RUN mkdir -m 0755 -p /var/run/named && chown -R root:named /var/run/named