tuto2: update to Debian 10

This commit is contained in:
nemunaire 2020-03-27 13:10:43 +01:00
parent 9111e1bbe1
commit 71b0a396c3
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,7 @@
FROM debian FROM debian
RUN apt-get update && apt-get install --no-install-recommends -y \ RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list.d/backports.list && \
apt-get update && apt-get install --no-install-recommends -y \
busybox \ busybox \
ca-certificates \ ca-certificates \
console-data \ console-data \
@ -12,14 +13,13 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
nano \ nano \
openssh-server \ openssh-server \
python \ python \
ssmtp \ esmtp \
systemd-sysv \ systemd-sysv \
udev \ udev \
vim.tiny \ vim.tiny \
wireguard-tools \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN curl -L -o /tmp/wireguard.deb http://httpredir.debian.org/debian/pool/main/w/wireguard/wireguard-tools_0.0.20190227-1_amd64.deb && dpkg -i /tmp/wireguard.deb; rm /tmp/wireguard.deb
RUN rm -rf /etc/init.d/ && \ RUN rm -rf /etc/init.d/ && \
mkdir /overlay && \ mkdir /overlay && \
ln -sf /init /sbin/init && \ ln -sf /init /sbin/init && \

View File

@ -7,6 +7,6 @@
 o88o o8888o `Y8bod88P" o888ooooood8 o888o o888o o888o  o88o o8888o `Y8bod88P" o888ooooood8 o888o o888o o888o
 
Debian GNU/Linux 9 \n \l Debian GNU/Linux \n \l
IPv4: \4 IPv4: \4