summaryrefslogblamecommitdiff
path: root/prepare-docker
blob: 4bf519f3986984716979ef55a50e42eb4f2be02c (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                                               
#!/bin/sh -e

docker run -e UIDGID=$(id -u):$(id -g) -v"$(dirname $(readlink -f "${0}"))":/x -w/x --rm -i alpine:3.18 <<'EOF'
apk add curl git graphicsmagick xz;
git config --global --add safe.directory /x;
/x/prepare;
chown "${UIDGID}" $(find . -mindepth 1 -maxdepth 1 -type f -name 'adelie-wallpapers-*.tar.xz');
EOF