myContainers / build_slim.sh
Tob De Ber
add curl to server
c7050ab
raw
history blame
1.07 kB
cp llama-server slim/
cp /lib/x86_64-linux-gnu/libgomp.so.1 slim/
cp /lib/x86_64-linux-gnu/libcurl.so.4 slim/
cp /lib/x86_64-linux-gnu/libnghttp2.so.14 slim/
cp /lib/x86_64-linux-gnu/librtmp.so.1 slim/
cp /lib/x86_64-linux-gnu/libssh2.so.1 slim/
cp /lib/x86_64-linux-gnu/libpsl.so.5 slim/
cp /lib/x86_64-linux-gnu/libssl.so.3 slim/
cp /lib/x86_64-linux-gnu/libcrypto.so.3 slim/
cp /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 slim/
cp /lib/x86_64-linux-gnu/libldap-2.5.so.0 slim/
cp /lib/x86_64-linux-gnu/liblber-2.5.so.0 slim/
cp /lib/x86_64-linux-gnu/libbrotlidec.so.1 slim/
cp /lib/x86_64-linux-gnu/libkrb5.so.3 slim/
cp /lib/x86_64-linux-gnu/libk5crypto.so.3 slim/
cp /lib/x86_64-linux-gnu/libkrb5support.so.0 slim/
cp /lib/x86_64-linux-gnu/libsasl2.so.2 slim/
cp /lib/x86_64-linux-gnu/libbrotlicommon.so.1 slim/
cp /lib/x86_64-linux-gnu/libkeyutils.so.1 slim/
podman build --squash-all --tag bookworm:server slim
podman image prune -f
podman save localhost/bookworm:server >server.tar
rm server.tar.xz
time xz -6 -T0 server.tar
rm slim/llama-server
rm slim/*.so.*