myContainers / build_slim.sh
Tob De Ber
add libraries to slim container
a796f0d
raw
history blame
260 Bytes
cp llama-server slim/
cp /lib/x86_64-linux-gnu/libgomp.so.1 slim/
podman build --squash-all --tag bookworm:server slim
podman image prune -f
podman save localhost/bookworm:server >server.tar
time xz -6 -T0 server.tar
rm slim/llama-server
rm slim/libgomp.so.1