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:
Matt McCormick 2022-12-29 20:04:09 -05:00
parent e9059f1daf
commit a4a94fcec8

View File

@ -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*