mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
base: Remove ssh keys
These get installed via the openssh-server package, which is pulled in as a dependency. Remove them before completing the layer to avoid inadvertent usage in these public docker images.
This commit is contained in:
parent
e9059f1daf
commit
a4a94fcec8
@ -41,4 +41,5 @@ RUN \
|
|||||||
python-is-python3 \
|
python-is-python3 \
|
||||||
&& apt-get clean autoclean --yes \
|
&& apt-get clean autoclean --yes \
|
||||||
&& apt-get autoremove --yes \
|
&& apt-get autoremove --yes \
|
||||||
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
|
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ \
|
||||||
|
&& rm /etc/ssh/*key*
|
||||||
|
Loading…
Reference in New Issue
Block a user