Skip to content

Commit 9667139

Browse files
rootroot
authored andcommitted
Updated Webmin 2.021
1 parent 0b4476d commit 9667139

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

Dockerfile

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
1-
FROM ubuntu:focal-20230308 AS add-apt-repositories
2-
1+
FROM debian:bullseye-20230320 AS add-apt-repositories
32
RUN 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
108
LABEL maintainer="[email protected]"
11-
129
ENV BIND_USER=bind \
1310
BIND_VERSION=9.16.37 \
14-
WEBMIN_VERSION=2.020 \
11+
WEBMIN_VERSION=2.021 \
1512
DATA_DIR=/data
16-
1713
COPY --from=add-apt-repositories /etc/apt/trusted.gpg /etc/apt/trusted.gpg
18-
1914
COPY --from=add-apt-repositories /etc/apt/sources.list /etc/apt/sources.list
20-
2115
RUN 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-
2821
COPY entrypoint.sh /sbin/entrypoint.sh
29-
3022
RUN chmod 755 /sbin/entrypoint.sh
31-
3223
EXPOSE 53/udp 53/tcp 10000/tcp
33-
3424
ENTRYPOINT ["/sbin/entrypoint.sh"]
35-
3625
CMD ["/usr/sbin/named"]

0 commit comments

Comments
 (0)