1.17.0 Fixes
parent
ffe75b6b75
commit
e80c9abd83
|
@ -17,12 +17,14 @@ RUN apk --update add --no-cache alpine-sdk bison dns-root-hints expat-dev flex g
|
|||
apk del alpine-sdk bison expat-dev flex git openssl-dev
|
||||
|
||||
# Prepare image
|
||||
COPY entrypoint.sh /
|
||||
COPY entrypoint.sh /srv/
|
||||
COPY healthcheck.sh /srv/
|
||||
|
||||
## Prepare unbound
|
||||
RUN addgroup -S unbound
|
||||
RUN adduser -S -G unbound unbound
|
||||
RUN mkdir -p /srv/unbound/conf
|
||||
COPY unbound.conf /srv/unbound/unbound.conf
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=2s --retries=1 CMD sh /srv/healthcheck.sh
|
||||
ENTRYPOINT ["sh", "/entrypoint.sh"]
|
||||
ENTRYPOINT ["sh", "/srv/entrypoint.sh"]
|
||||
|
|
Loading…
Reference in New Issue