diff --git a/pdns-recursor/Dockerfile b/pdns-recursor/Dockerfile index 270dca5..0657322 100644 --- a/pdns-recursor/Dockerfile +++ b/pdns-recursor/Dockerfile @@ -6,7 +6,7 @@ RUN dnf -y --setopt=install_weak_deps=False install \ python3-setuptools \ && dnf clean all -RUN pip3 install --no-cache-dir envtpl +RUN pip3 install --no-cache-dir 'Jinja2<3.1' envtpl RUN mkdir -p /etc/pdns-recursor/api.d \ && chown -R pdns-recursor: /etc/pdns-recursor/api.d \ diff --git a/pdns-recursor/Dockerfile.alpine b/pdns-recursor/Dockerfile.alpine index db16490..6757eec 100644 --- a/pdns-recursor/Dockerfile.alpine +++ b/pdns-recursor/Dockerfile.alpine @@ -5,7 +5,7 @@ RUN apk add --no-cache \ py3-pip \ python3 -RUN pip3 install --no-cache-dir envtpl +RUN pip3 install --no-cache-dir 'Jinja2<3.1' envtpl RUN mkdir -p /etc/pdns/api.d \ && chown -R recursor: /etc/pdns/api.d \ diff --git a/pdns/Dockerfile b/pdns/Dockerfile index 9b52073..99f5a91 100644 --- a/pdns/Dockerfile +++ b/pdns/Dockerfile @@ -10,7 +10,7 @@ RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf \ python3-setuptools \ && dnf clean all -RUN pip3 install --no-cache-dir envtpl +RUN pip3 install --no-cache-dir 'Jinja2<3.1' envtpl ENV VERSION=4.6 \ PDNS_guardian=yes \ diff --git a/pdns/Dockerfile.alpine b/pdns/Dockerfile.alpine index fcf5b80..ad8fbe6 100644 --- a/pdns/Dockerfile.alpine +++ b/pdns/Dockerfile.alpine @@ -8,7 +8,7 @@ RUN apk add --no-cache \ py3-pip \ python3 -RUN pip3 install --no-cache-dir envtpl +RUN pip3 install --no-cache-dir 'Jinja2<3.1' envtpl ENV VERSION=4.5 \ PDNS_guardian=yes \