diff options
Diffstat (limited to 'prepare-docker')
-rwxr-xr-x | prepare-docker | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/prepare-docker b/prepare-docker new file mode 100755 index 0000000..4bf519f --- /dev/null +++ b/prepare-docker @@ -0,0 +1,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 |