mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 21:19:26 +02: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:
@ -41,4 +41,5 @@ RUN \
|
||||
python-is-python3 \
|
||||
&& apt-get clean autoclean --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*
|
||||
|
Reference in New Issue
Block a user