update docker-gimp (host is broken)
This commit is contained in:
parent
62ada90286
commit
e848cd1126
|
@ -15,20 +15,18 @@ function docker-imagecheck() {
|
|||
fi
|
||||
}
|
||||
|
||||
# gimp on host is very broken, so this is my (temporary) workaround
|
||||
function docker-gimp() {
|
||||
for file in $@; do
|
||||
files="${files}/home/gui/data/${file} "
|
||||
done
|
||||
docker run --rm -d \
|
||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||
-v $PWD:/home/gui/data/ \
|
||||
-v /tmp/:/home/gui/tmp/ \
|
||||
-e DISPLAY \
|
||||
-e LANG \
|
||||
-e uid=$UID \
|
||||
-e gid=$UID \
|
||||
--device /dev/dri \
|
||||
r.jalr.de/sbruder/docker-gimp $files
|
||||
docker run --rm -it \
|
||||
-e DISPLAY \
|
||||
-e HOME=/home/gimp \
|
||||
-u $(id -u) \
|
||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||
-v $PWD:/home/gimp/data/ \
|
||||
-v /tmp/:/home/gimp/tmp/ \
|
||||
-v ~/.local/share/gegl-0.4:/home/gimp/.local/share/gegl-0.4 \
|
||||
-v ~/.config/GIMP/:/home/gimp/.config/GIMP/ \
|
||||
jess/gimp $@
|
||||
}
|
||||
|
||||
function vobsub2srt() {
|
||||
|
|
Reference in a new issue