Add apt-get clean to Dockerfile to reduce image size
This commit is contained in:
parent
d26bf1a78a
commit
91e9afc355
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ RUN apt-get update \
|
|||
openssl \
|
||||
sudo \
|
||||
tini \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir -p /var/run/sshd /var/lib/k8s-mgmt-pod /etc/ssh/sshd_config.d \
|
||||
&& useradd --create-home --shell /bin/bash admin \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue