File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:focal-20230308 AS add-apt-repositories
2-
1+ FROM debian:bullseye-20230320 AS add-apt-repositories
32RUN apt-get update \
4- && DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg \
5- && apt-key adv --fetch-keys http://www.webmin.com/jcameron-key.asc \
3+ && DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg ca-certificates apt-utils \
4+ && apt-get update \
5+ && apt-key adv --fetch-keys https://webmin.com/jcameron-key.asc \
66 && echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
7-
8- FROM ubuntu:focal-20230308
9-
7+ FROM debian:bullseye-20230320
108LABEL maintainer=
"[email protected] " 11-
129ENV BIND_USER=bind \
1310 BIND_VERSION=9.16.37 \
14- WEBMIN_VERSION=2.020 \
11+ WEBMIN_VERSION=2.021 \
1512 DATA_DIR=/data
16-
1713COPY --from=add-apt-repositories /etc/apt/trusted.gpg /etc/apt/trusted.gpg
18-
1914COPY --from=add-apt-repositories /etc/apt/sources.list /etc/apt/sources.list
20-
2115RUN rm -rf /etc/apt/apt.conf.d/docker-gzip-indexes \
2216 && apt-get update \
2317 && DEBIAN_FRONTEND=noninteractive apt-get install -y \
2418 bind9=1:${BIND_VERSION}* bind9-host=1:${BIND_VERSION}* dnsutils \
2519 webmin=${WEBMIN_VERSION}* \
2620 && rm -rf /var/lib/apt/lists/*
27-
2821COPY entrypoint.sh /sbin/entrypoint.sh
29-
3022RUN chmod 755 /sbin/entrypoint.sh
31-
3223EXPOSE 53/udp 53/tcp 10000/tcp
33-
3424ENTRYPOINT ["/sbin/entrypoint.sh" ]
35-
3625CMD ["/usr/sbin/named" ]
You can’t perform that action at this time.
0 commit comments