diff options
author | Zach van Rijn <me@zv.io> | 2025-02-28 00:07:45 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2025-02-28 00:07:45 -0600 |
commit | fb433ddb56312c043bc1cfc52a2305b28c290b93 (patch) | |
tree | d10cbe28fea33e6edb4a30d7fcd2df2847269824 | |
parent | 82197550d50f7d5dd5ba53a074000e8f387b83fb (diff) | |
download | site-ng-master.tar.gz site-ng-master.tar.bz2 site-ng-master.tar.xz site-ng-master.zip |
-rwxr-xr-x | assets/css/compile.sh | 2 | ||||
-rwxr-xr-x | assets/images/polyguin.sh | 4 | ||||
-rwxr-xr-x | publish | 6 |
3 files changed, 7 insertions, 5 deletions
diff --git a/assets/css/compile.sh b/assets/css/compile.sh index 66d79de..34b63f3 100755 --- a/assets/css/compile.sh +++ b/assets/css/compile.sh @@ -1,7 +1,7 @@ #!/bin/sh -e HERE=$(dirname $(readlink -f ${0})); -NODE=23.0.0-alpine3.19; # https://hub.docker.com/_/node +NODE=23.9.0-alpine3.21; # https://hub.docker.com/_/node cd ${HERE}; diff --git a/assets/images/polyguin.sh b/assets/images/polyguin.sh index dc974f5..7b4a7fa 100755 --- a/assets/images/polyguin.sh +++ b/assets/images/polyguin.sh @@ -88,8 +88,8 @@ grep fill: polyguin.svg \ #=============================================================== -docker run -v$(pwd):/x -w/x --rm -i alpine:3.17 <<'EOF' -apk add graphicsmagick imagemagick; +docker run -v$(pwd):/x -w/x --rm -i alpine:3.21 <<'EOF' +apk add graphicsmagick imagemagick imagemagick-svg; #=============================================================== #--------------------------------------------------------------- @@ -37,7 +37,9 @@ fi # LOGO if test ${HTML} -eq 1; then #=============================================================== -docker run -v ${HERE}:${HERE} -e HERE=${HERE} -v ${TEMP}:${TEMP} -e TEMP=${TEMP} --rm -i alpine:3.17 <<'EOF' +# FIXME: cannot update to 3.19 (or newer) else PSD images break; +# missing PSD coder support? Alpine needs subpackge maybe?? +docker run -v ${HERE}:${HERE} -e HERE=${HERE} -v ${TEMP}:${TEMP} -e TEMP=${TEMP} --rm -i alpine:3.18 <<'EOF' apk add findutils imagemagick; #=============================================================== @@ -47,7 +49,7 @@ apk add findutils imagemagick; find ${HERE} -type f -name "*.psd" | while read k; do f="${k#*${HERE}}"; mkdir -p "${TEMP}${f%/*}"; - convert "${k}[0]" -strip "${TEMP}${f%*.psd}.jpg"; + magick "${k}[0]" -strip "${TEMP}${f%*.psd}.jpg"; done ## |