Skip to content

Conversation

@manideepgoudparuchuri
Copy link

Using Alpine as base image for Apache Solr docker images to reduce vulnerabilities

@dsmiley
Copy link
Contributor

dsmiley commented May 19, 2024

I didn't do a diff but are these duplicating the existing ones except for the FROM? It's a maintenance burden to support such code duplication.

@manideepgoudparuchuri
Copy link
Author

This is not the duplication of other codes. I have changed FROM to use alpine as base image and **changed commands which installs packages ** while it starts building the image.

In other codes we used ubuntu image which uses apt package manager and now in alpine we use apk package manager for installing packages inside image.

@janhoy
Copy link
Contributor

janhoy commented May 21, 2024

If we are to support alpine - and I think that should be first decided on the dev list - the change will need to go not in this repo but in the main solr repo in the templating, so that the docker file is auto generated for each solr build.

Please start a dev list thread with your proposal.
For background, we used to publish an alpine image years ago but ditched it for ease of maintenance, and also the current Debian base images are much slimmer than they used to be.

@janhoy janhoy marked this pull request as draft May 30, 2024 09:06
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.

3 participants