Updated Unbound to version `1.17.0`

pull/1/head
Gertjan Krol 2022-11-17 23:18:52 +01:00
parent 427bb68d8b
commit ffe75b6b75
2 changed files with 8 additions and 6 deletions

View File

@ -1,27 +1,26 @@
FROM alpine:3.15.5 FROM alpine:3.15.5
ARG UNBOUND_VERSION=1.16.2 ARG UNBOUND_VERSION=1.17.0
# Install dependencies and build unbound, clean up after # Install dependencies and build unbound, clean up after
RUN apk --update add --no-cache alpine-sdk dns-root-hints expat-dev git openssl-dev && \ RUN apk --update add --no-cache alpine-sdk bison dns-root-hints expat-dev flex git openssl-dev && \
# Clone tag and build unbound source (https://github.com/NLnetLabs/unbound) # Clone tag and build unbound source (https://github.com/NLnetLabs/unbound)
git clone --depth 1 --branch "release-${UNBOUND_VERSION}" https://github.com/NLnetLabs/unbound.git /tmp/unbound && \ git clone --depth 1 --branch "release-${UNBOUND_VERSION}" https://github.com/NLnetLabs/unbound.git /tmp/unbound && \
cd /tmp/unbound && \ cd /tmp/unbound && \
./configure && \ ./configure && \
make && \ make && \
make install && \ make install && \
# Cleanup build tools # Clean up build dependencies
make clean && \ make clean && \
cd /srv && \
rm -rf /tmp/* && \ rm -rf /tmp/* && \
apk del alpine-sdk expat-dev git openssl-dev apk del alpine-sdk bison expat-dev flex git openssl-dev
# Prepare image # Prepare image
COPY entrypoint.sh / COPY entrypoint.sh /
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

View File

@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
## [Unreleased] ## [Unreleased]
## [1.17.0]
- Updated Unbound to version `1.17.0`
## [1.16.2] ## [1.16.2]
- Updated Unbound to version `1.16.2` - Updated Unbound to version `1.16.2`
- Added local healthcheck record and new healthcheck script - Added local healthcheck record and new healthcheck script