Add --no-install-recommends to apt-get install in Dockerfile.olbase#12047
Add --no-install-recommends to apt-get install in Dockerfile.olbase#12047Skyee90 wants to merge 1 commit intointernetarchive:masterfrom
Conversation
Adds --no-install-recommends flag to the apt-get install command in docker/Dockerfile.olbase (line 17) . This reduces the image layer size by ~100MB based on previous testing, without breaking any functionality. Happy to help.
There was a problem hiding this comment.
Pull request overview
This PR adds the --no-install-recommends flag to the apt-get install command in docker/Dockerfile.olbase, reducing the Docker image layer size by ~100MB by skipping non-essential recommended packages. This aligns with the existing convention already used in scripts/install_nginx.sh.
Changes:
- Added
--no-install-recommendsflag to the mainapt-get installcommand in the base Dockerfile to minimize image size.
|
Marked as "Can it be closed?" for the following reasons:
|
|
@jimchamp the issue was actually open but assigned to someone else but when I noticed i already made the pr |
|
Idk i think let it stay maybe the author will accept it. |
|
I see 3 different PRs, I am not confident they are tested, no issue is referenced, PR templated not followed; I am not going to endorse staff time on this one, though appreciate the energy to contribute |
Adds --no-install-recommends flag to the apt-get install command in docker/Dockerfile.olbase (line 17) . This reduces the image layer size by ~100MB based on previous testing, without breaking any functionality. Happy to help.