Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Thamdrup 6f39407a8c
use alpine, reduce layers (#249)
Signed-off-by: Daniel Thamdrup <dallemon@protonmail.com>
2024-03-12 21:02:26 -04:00
Peter Dave Hello 8ee0deade1
Properly upgrade packages and clean up apt cache in Dockerfile (#218)
Result:
```
REPOSITORY     TAG       IMAGE ID       CREATED              SIZE
ssh-audit      after     03e247aee0cc   About a minute ago   131MB
ssh-audit      before    609962ceafb1   About a minute ago   150MB
```
2024-02-18 10:25:14 -05:00
Oleksii 848052df68
Add cleanup for apt cache files (#215)
* Add cleanup for apt cache files

Adding this command decreases the size of the image.

ssh-audit-new                                           latest                 0c391ba567ee   39 minutes ago   157MB
ssh-audit-old                                           latest                 a425e0043125   40 minutes ago   176MB

* Fix Dockerfile

Forgot to add logical "and" (&&)
2023-10-23 13:51:47 -04:00
Joe Testa 2867c65819 Perform full Docker image update when building. 2023-09-03 18:07:30 -04:00
Joe Testa cbb7d43006 Updated base image. Removed all suid & sgid bits from image. Drop root privileges by default. 2023-03-23 23:43:52 -04:00
Joe Testa 7878d66a46 Now using Python 3.9 base image. 2021-02-02 13:25:52 -05:00
Joe Testa 17780ff194 Added support for building official docker images. (#76) 2020-10-20 11:31:50 -04:00