Skip to content

Separate builders for build tools, drop some unused library dependencies#994

Open
featheredtoast wants to merge 7 commits into
mainfrom
superslim-base
Open

Separate builders for build tools, drop some unused library dependencies#994
featheredtoast wants to merge 7 commits into
mainfrom
superslim-base

Conversation

@featheredtoast
Copy link
Copy Markdown
Member

@featheredtoast featheredtoast commented Aug 14, 2025

Separate out builders for thpoff, jemalloc and oxipng/jhead
Copy over the results of all libraries to reduce dependencies
for base image needing build tools.

drop extra -dev packages from base image as we only need the nginx runtime libs.

refactor parallel stop without parallel package

mount tmpfs for apt caches
remove unreferenced libtcmalloc

reorganize gem dependencies

@featheredtoast featheredtoast marked this pull request as ready for review August 14, 2025 07:04
@featheredtoast featheredtoast force-pushed the superslim-base branch 3 times, most recently from 75ae8e3 to 7d9e6fe Compare August 19, 2025 20:16
@featheredtoast featheredtoast changed the title Remove build tools from base image Separate builders for build tools, drop some unused library dependencies Aug 19, 2025
Separate out builders for thpoff, jemalloc and oxipng/jhead
Copy over the results of all libraries to reduce dependencies
for base image needing build tools.
Remove the dependency on parallel for two commands
drop -dev packages for nginx compilation now that this is separate
..and remove extra cmake reference, this is already in a line above
Build in arm vs amd64 acts a bit differently - arm builds to libjemalloc.so.2
and symlinks whereas amd64 does not.

build and copy over library directly to /usr/lib/libjemalloc.so in both cases.
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.

1 participant