1.17.0 Fixes

pull/1/head
Gertjan Krol 2022-11-17 23:30:07 +01:00
parent ffe75b6b75
commit e80c9abd83
1 changed files with 4 additions and 2 deletions

View File

@ -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 apk del alpine-sdk bison expat-dev flex git openssl-dev
# Prepare image # Prepare image
COPY entrypoint.sh / COPY entrypoint.sh /srv/
COPY healthcheck.sh /srv/ COPY healthcheck.sh /srv/
## Prepare unbound ## Prepare unbound
RUN addgroup -S unbound
RUN adduser -S -G unbound unbound
RUN mkdir -p /srv/unbound/conf RUN mkdir -p /srv/unbound/conf
COPY unbound.conf /srv/unbound/unbound.conf COPY unbound.conf /srv/unbound/unbound.conf
HEALTHCHECK --interval=30s --timeout=2s --retries=1 CMD sh /srv/healthcheck.sh HEALTHCHECK --interval=30s --timeout=2s --retries=1 CMD sh /srv/healthcheck.sh
ENTRYPOINT ["sh", "/entrypoint.sh"] ENTRYPOINT ["sh", "/srv/entrypoint.sh"]