Update 'dockerfile'
This commit is contained in:
parent
3630c84c13
commit
8534ff79d6
21
dockerfile
21
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
|
||||
Loading…
x
Reference in New Issue
Block a user