From 8b3dc982e4f35357999e68c88c8c758246b24afe Mon Sep 17 00:00:00 2001 From: dimon Date: Wed, 21 Aug 2024 15:11:35 +0000 Subject: [PATCH] Update 'dockerfile' --- dockerfile | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/dockerfile b/dockerfile index 93648fc..12289d8 100644 --- a/dockerfile +++ b/dockerfile @@ -2,17 +2,7 @@ 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 \ +RUN apt update \ && apt full-upgrade -y \ && apt install -y \ curl \ @@ -22,6 +12,8 @@ RUN set -eux; \ 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 +RUN export DEBIAN_FRONTEND=noninteractive \ + && apt update \ + && apt install -y tzdata \ + && ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime \ + && dpkg-reconfigure --frontend noninteractive tzdata \ No newline at end of file