From d1ac779dd03ba8b8d0fa800bebd3318df1e4f5b1 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 | 4 +++- build.sh | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) 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 f239ead..228a620 100755 --- a/bin/test +++ b/bin/test @@ -27,7 +27,9 @@ docker run --rm "$img" bash -ec ' zstd --version sqlite3 --version vips --version - vips -l | grep -i heif > /dev/null +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 d7ea84d..54ddfcb 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)" @@ -112,6 +113,8 @@ zstd --version sqlite3 --version vips --version vips -l | grep -i heif > /dev/null +magick --version +gs --version hugo version node --version npm --version