Skip to content

Conversation

@tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Dec 17, 2024

This change reduces the layer for this RUN command from 1GB to 729MB
as shown in the docker history <image name> output.

Packages removed are:

pkg-config, libxslt-dev and libxml2-dev: This listed in the nokogiri's gem docs but we rely on Nokogiri's packaged version.

libtool, parallel: I found no good reason for these two packages to exist but they add significant bloat.

@tgxworld tgxworld force-pushed the reduce_bloat branch 3 times, most recently from 805ca95 to 86e61fa Compare December 18, 2024 00:52
@featheredtoast
Copy link
Member

Some of the gems we use compile at install time which means we're currently dependent on compulers unfortunately

@tgxworld tgxworld force-pushed the reduce_bloat branch 3 times, most recently from 1ae1eca to cfba723 Compare December 18, 2024 01:43
This change reduces the layer for this `RUN` command from 1GB to 678MB
as shown in the `docker history <image name>` output.
@tgxworld
Copy link
Contributor Author

OK this turned out to be more difficult that I have imagined. Going to just drop this for now.

@tgxworld tgxworld closed this Dec 18, 2024
@tgxworld tgxworld deleted the reduce_bloat branch December 18, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants