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

Migrate Docker image from Alpine to Debian Slim #78

Closed
stevespringett opened this issue Jun 24, 2021 · 1 comment · Fixed by #141
Closed

Migrate Docker image from Alpine to Debian Slim #78

stevespringett opened this issue Jun 24, 2021 · 1 comment · Fixed by #141
Milestone

Comments

@stevespringett
Copy link
Member

stevespringett commented Jun 24, 2021

Alpine images can cause some incompatibility issues due to its use on musl instead of glibc.

This ticket is to track the migration of the Dockerfile from using an Alpine base image to one based on Debian slim.

Related to DependencyTrack/dependency-track#1054

API Server: DependencyTrack/dependency-track#1090

@k3rnelpan1c-dev
Copy link
Contributor

k3rnelpan1c-dev commented Dec 19, 2021

If I may have a comment/feedback here:
You use Nginx here as a container base to serve 'pre-compiled' static Vue pages. Nginx has no problems running under Musl, unlike most JVMs, and officially supports/compiles against Musl (for what I know). Migrating the frontend container to a larger in size base with a larger attack surface seems therefor not ideal (IMHO).
You can always offer both versions a Alpine and a Debian one, the maintenance of that should be trivial and CI for that is easily configured. (I can offer a proposal for that if you are interested)

Anyway, this obviously represents just my two cents and you are welcome to disregard them, I just wanted to point this out.

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

Successfully merging a pull request may close this issue.

2 participants