Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile to Multi-Stage #998

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

multi-stager
Copy link

Proposed change

Hi,

Thanks for maintaining OWASP Nettacker. I represent a research group investigating multi-stage builds. We recently refactored your Dockerfile to a multi-stage Dockerfile and found that it brings the following benefits:

✅ Reduced final image size (from 642MB to 137MB)
✅ Minimized image vulnerabilities (verified via Trivy, from 10 to 1)

We hope this small improvement to the Dockerfile will be useful to you :)

Thanks,

Type of change

  • New core framework functionality
  • Bugfix (non-breaking change which fixes an issue)
  • Code refactoring without any functionality changes
  • New or existing module/payload change
  • Localization improvement
  • Dependency upgrade
  • Documentation improvement

Checklist

  • I've followed the [contributing guidelines][contributing-guidelines]
  • I've run make pre-commit, it didn't generate any changes
  • I've run make test, all tests passed locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant