From 4b1051a921d9cd6b3b257a87ce65764a059d54f6 Mon Sep 17 00:00:00 2001 From: Patrick Scott Best Date: Sat, 12 Dec 2020 12:47:07 -0500 Subject: [PATCH] Dockerfile Webmin Fixes Dockerfile Webmin Fixes ADD-APT-REPOSITORIES - install curl - change URL for webmin to use https PRIMARY IMAGE - update before copying from ADD-APT-REPOSITORIES - install curl --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fab5aab..f635582 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM ubuntu:focal-20200423 AS add-apt-repositories RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg \ - && apt-key adv --fetch-keys http://www.webmin.com/jcameron-key.asc \ + && apt-get install -y curl \ + && apt-key adv --fetch-keys https://www.webmin.com/jcameron-key.asc \ && echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list FROM ubuntu:focal-20200423 @@ -14,6 +15,9 @@ ENV BIND_USER=bind \ WEBMIN_VERSION=1.941 \ DATA_DIR=/data +RUN apt-get update \ + && apt-get install -y curl + COPY --from=add-apt-repositories /etc/apt/trusted.gpg /etc/apt/trusted.gpg COPY --from=add-apt-repositories /etc/apt/sources.list /etc/apt/sources.list