Update 'dockerfile'
This commit is contained in:
parent
8534ff79d6
commit
8b3dc982e4
20
dockerfile
20
dockerfile
@ -2,17 +2,7 @@ FROM ubuntu:22.04
|
|||||||
VOLUME /usr /lib /etc /var /bin /home /opt
|
VOLUME /usr /lib /etc /var /bin /home /opt
|
||||||
CMD /bin/bash
|
CMD /bin/bash
|
||||||
|
|
||||||
RUN for key in 871920D1991BC93C; do \
|
RUN apt update \
|
||||||
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 full-upgrade -y \
|
||||||
&& apt install -y \
|
&& apt install -y \
|
||||||
curl \
|
curl \
|
||||||
@ -22,6 +12,8 @@ RUN set -eux; \
|
|||||||
iputils-ping \
|
iputils-ping \
|
||||||
net-tools
|
net-tools
|
||||||
|
|
||||||
ADD https://git.dfosd.synology.me/docker/ubuntu-base/raw/branch/master/setup_programs.sh /setup_programs.sh
|
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||||
RUN chmod +x /setup_programs.sh
|
&& apt update \
|
||||||
RUN /setup_programs.sh
|
&& apt install -y tzdata \
|
||||||
|
&& ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime \
|
||||||
|
&& dpkg-reconfigure --frontend noninteractive tzdata
|
||||||
Loading…
x
Reference in New Issue
Block a user