Add libxdamage & standardise docker mod

This commit is contained in:
chbmb 2021-08-04 22:38:43 +01:00
parent fa8e7ec060
commit 98ddc0511b
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update

View File

@ -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