jtesta / ssh-audit

SSH server & client security auditing (banner, key exchange, encryption, mac, compression, compatibility, security, etc)
MIT License
3.44k stars 179 forks source link

use python alpine base image #249

Closed dallemon closed 8 months ago

dallemon commented 8 months ago

not as exotic as the previous pr ;)

changes the base image to the official python alpine image moves the initial file copies to a separate container reduced the run statements

REPOSITORY                         TAG       IMAGE ID       CREATED          SIZE
ssh-audit                          after     eb69438e2b93   4 seconds ago    83.7MB
ssh-audit                          before    b3251df186d9   23 seconds ago   196MB

also cves are drastically reduced :)

jtesta commented 8 months ago

I didn't know the python image had a 3-alpine tag that was so much smaller. Thanks for contributing!