Tob De Ber commited on
Commit
c7050ab
1 Parent(s): a796f0d

add curl to server

Browse files
Files changed (3) hide show
  1. build_slim.sh +20 -1
  2. server.tar.xz +2 -2
  3. slim/Dockerfile +1 -1
build_slim.sh CHANGED
@@ -1,9 +1,28 @@
1
  cp llama-server slim/
2
  cp /lib/x86_64-linux-gnu/libgomp.so.1 slim/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  podman build --squash-all --tag bookworm:server slim
4
  podman image prune -f
5
  podman save localhost/bookworm:server >server.tar
 
6
  time xz -6 -T0 server.tar
7
  rm slim/llama-server
8
- rm slim/libgomp.so.1
9
 
 
1
  cp llama-server slim/
2
  cp /lib/x86_64-linux-gnu/libgomp.so.1 slim/
3
+ cp /lib/x86_64-linux-gnu/libcurl.so.4 slim/
4
+ cp /lib/x86_64-linux-gnu/libnghttp2.so.14 slim/
5
+ cp /lib/x86_64-linux-gnu/librtmp.so.1 slim/
6
+ cp /lib/x86_64-linux-gnu/libssh2.so.1 slim/
7
+ cp /lib/x86_64-linux-gnu/libpsl.so.5 slim/
8
+ cp /lib/x86_64-linux-gnu/libssl.so.3 slim/
9
+ cp /lib/x86_64-linux-gnu/libcrypto.so.3 slim/
10
+ cp /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 slim/
11
+ cp /lib/x86_64-linux-gnu/libldap-2.5.so.0 slim/
12
+ cp /lib/x86_64-linux-gnu/liblber-2.5.so.0 slim/
13
+ cp /lib/x86_64-linux-gnu/libbrotlidec.so.1 slim/
14
+ cp /lib/x86_64-linux-gnu/libkrb5.so.3 slim/
15
+ cp /lib/x86_64-linux-gnu/libk5crypto.so.3 slim/
16
+ cp /lib/x86_64-linux-gnu/libkrb5support.so.0 slim/
17
+ cp /lib/x86_64-linux-gnu/libsasl2.so.2 slim/
18
+ cp /lib/x86_64-linux-gnu/libbrotlicommon.so.1 slim/
19
+ cp /lib/x86_64-linux-gnu/libkeyutils.so.1 slim/
20
+
21
  podman build --squash-all --tag bookworm:server slim
22
  podman image prune -f
23
  podman save localhost/bookworm:server >server.tar
24
+ rm server.tar.xz
25
  time xz -6 -T0 server.tar
26
  rm slim/llama-server
27
+ rm slim/*.so.*
28
 
server.tar.xz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b60795e9443c0520e1184fb5e8a3cb95bc172870525176ee6b70bc7f6317c9a8
3
- size 29064692
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba8a19a296fd275b376e96d0aa9cd4f5d4b7ff746467b1b232e0ac909f5a15dc
3
+ size 32443820
slim/Dockerfile CHANGED
@@ -8,6 +8,6 @@ FROM debian:bookworm-slim
8
  #RUN rm -rf llama.cpp/
9
 
10
  COPY llama-server .
11
- COPY libgomp.so.1 /lib/x86_64-linux-gnu/libgomp.so.1
12
 
13
  CMD ["sleep", " infinity"]
 
8
  #RUN rm -rf llama.cpp/
9
 
10
  COPY llama-server .
11
+ COPY lib*.so.* /lib/x86_64-linux-gnu/
12
 
13
  CMD ["sleep", " infinity"]