From 43ecbc9736892033a731092bdcf58dde62917f17 Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 5 Nov 2026 13:55:27 +0000 Subject: [PATCH] Add ImageMagick and Ghostscript (closes #7) Install imagemagick (ImageMagick 7, so the CLI is magick) and ghostscript from apt and check both in the smoke test. Model: deepseek-v4-pro --- README.md | 2 ++ bin/test | 2 ++ build.sh | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c6fe78..febf1c6 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ Image: `git.eeqj.de/sneak/baseimage`, built for `linux/amd64` and | sqlite3 (CLI) | apt | `/usr/bin/sqlite3` | | libvips | apt `libvips-dev`, `libvips-tools` | `vips` on `PATH` | | libheif | apt `libheif-dev`, `libheif-plugin-aomenc` | HEIF/AVIF codec | +| ImageMagick | apt | `magick` | +| Ghostscript | apt | `gs` | Plus the usual odds and ends: `git`, `curl`, `wget`, `jq`, `rsync`, `openssh-client`, `zip`/`unzip`, `xz-utils`, `bzip2`, and the `-dev` diff --git a/bin/test b/bin/test index 4dcbd0a..65c2bc4 100755 --- a/bin/test +++ b/bin/test @@ -28,6 +28,8 @@ docker run --rm "$img" bash -ec ' sqlite3 --version vips --version vips -l | grep -i heif > /dev/null + magick --version + gs --version ' echo "== $img: runit service lifecycle" diff --git a/build.sh b/build.sh index 70658c5..9a06b3e 100755 --- a/build.sh +++ b/build.sh @@ -29,7 +29,8 @@ apt-get -y install --no-install-recommends \ shellcheck \ tzdata \ zstd sqlite3 \ - libvips-dev libvips-tools libheif-dev libheif-plugin-aomenc + libvips-dev libvips-tools libheif-dev libheif-plugin-aomenc \ + imagemagick ghostscript # --- Go (latest) ------------------------------------------------------------- gover="$(curl -fsSL 'https://go.dev/VERSION?m=text' | head -n1)" @@ -110,6 +111,8 @@ zstd --version sqlite3 --version vips --version vips -l | grep -i heif > /dev/null +magick --version +gs --version hugo version node --version npm --version