Skip to content

Commit

Permalink
chore: update pdns-recursor to 5.1.x
Browse files Browse the repository at this point in the history
Alpine => 5.1.3
Fedora => 5.1.2
  • Loading branch information
Belphemur committed Dec 30, 2024
1 parent 643f44b commit 998d7ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pdns-recursor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:40
FROM fedora:41

RUN arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') \
&& echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf \
Expand All @@ -7,15 +7,15 @@ RUN arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') \
&& dnf --refresh upgrade \
&& dnf install \
pdns-recursor \
https://github.com/kha7iq/subvars/releases/download/v0.1.5/subvars_${arch}.rpm \
https://github.com/TektonOps/subvars/releases/download/v0.1.5/subvars_${arch}.rpm \
&& dnf clean all

RUN mkdir -p /etc/pdns-recursor/api.d /run/pdns-recursor \
&& chown -R pdns-recursor: /etc/pdns-recursor /run/pdns-recursor

COPY recursor.conf.tpl docker-entrypoint.sh /

ENV VERSION=5.0 \
ENV VERSION=5.1 \
PDNS_setuid=pdns-recursor \
PDNS_setgid=pdns-recursor \
PDNS_daemon=no \
Expand Down
6 changes: 3 additions & 3 deletions pdns-recursor/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine:3.20.0
FROM alpine:3.21

RUN arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') \
&& apk update \
&& apk upgrade \
&& apk add pdns-recursor \
&& wget -O subvars.apk https://github.com/kha7iq/subvars/releases/download/v0.1.5/subvars_${arch}.apk \
&& wget -O subvars.apk https://github.com/TektonOps/subvars/releases/download/v0.1.5/subvars_${arch}.apk \
&& apk add --allow-untrusted subvars.apk \
&& rm -rf subvars.apk /var/cache/apk/*

Expand All @@ -13,7 +13,7 @@ RUN mkdir -p /etc/pdns/api.d /var/run/pdns-recursor \

COPY recursor.conf.tpl docker-entrypoint.sh /

ENV VERSION=5.0 \
ENV VERSION=5.1 \
PDNS_setuid=recursor \
PDNS_setgid=recursor \
PDNS_daemon=no \
Expand Down

0 comments on commit 998d7ae

Please sign in to comment.