Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update pdns-recursor to 5.1.x #146

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading