Add libxdamage & standardise docker mod
This commit is contained in:
parent
fa8e7ec060
commit
98ddc0511b
3
root/etc/cont-init.d/95-apt-get
Normal file
3
root/etc/cont-init.d/95-apt-get
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
apt-get update
|
@ -5,5 +5,10 @@ if [ ! -e /usr/bin/calibre-server ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -L /usr/lib/x86_64-linux-gnu/libGL.so.1 ]; then
|
if [ ! -L /usr/lib/x86_64-linux-gnu/libGL.so.1 ]; then
|
||||||
apt update && apt install -y libgl1-mesa-glx
|
apt-get install -y libgl1-mesa-glx
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -L /usr/lib/x86_64-linux-gnu/libxdamage.so.1 ]; then
|
||||||
|
apt-get install -y libxdamage1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user