Dockerfile: use apt-get (more stable)
This commit is contained in:
parent
394a460405
commit
8b4f7d5be5
|
|
@ -51,14 +51,14 @@ FROM {ARG_FROM} as prep
|
||||||
|
|
||||||
RUN echo "deb http://deb.debian.org/debian/ buster-backports main contrib" > \
|
RUN echo "deb http://deb.debian.org/debian/ buster-backports main contrib" > \
|
||||||
/etc/apt/sources.list.d/backports.list
|
/etc/apt/sources.list.d/backports.list
|
||||||
RUN apt update
|
RUN apt-get update
|
||||||
RUN apt -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt -y install \
|
RUN apt-get -y install \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
coreutils \
|
coreutils \
|
||||||
socat \
|
socat \
|
||||||
openssh-client
|
openssh-client
|
||||||
RUN apt -y -t buster-backports install git
|
RUN apt-get -y -t buster-backports install git
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Add the default UID to /etc/passwd so SSH is satisfied.
|
# Add the default UID to /etc/passwd so SSH is satisfied.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue