From 8534ff79d636fc042e5f063164f7f9aa88b89cf1 Mon Sep 17 00:00:00 2001 From: dimon Date: Wed, 21 Aug 2024 14:51:35 +0000 Subject: [PATCH] Update 'dockerfile' --- dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/dockerfile b/dockerfile index 061b1b1..93648fc 100644 --- a/dockerfile +++ b/dockerfile @@ -1,6 +1,27 @@ FROM ubuntu:22.04 VOLUME /usr /lib /etc /var /bin /home /opt CMD /bin/bash + +RUN for key in 871920D1991BC93C; do \ + gpg --recv-keys "$key" \ + && gpg --export "$key" | apt-key add - ; \ + done + +RUN set -eux; \ + apt update; \ + apt install -y --no-install-recommends ca-certificates; + +RUN set -eux; \ + apt update \ + && apt full-upgrade -y \ + && apt install -y \ + curl \ + wget \ + nano \ + telnet \ + iputils-ping \ + net-tools + ADD https://git.dfosd.synology.me/docker/ubuntu-base/raw/branch/master/setup_programs.sh /setup_programs.sh RUN chmod +x /setup_programs.sh RUN /setup_programs.sh \ No newline at end of file