From 21c6059b98f00f57def6efaf747e1837ded2bdac Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 5 Nov 2026 13:55:41 +0000 Subject: [PATCH] Add Ruby with Bundler (closes #8) Install ruby, ruby-dev and bundler from apt. ruby-dev keeps native gems buildable, matching what jekyllsitebuilder needs. 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 febf1c6..b99419a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ Image: `git.eeqj.de/sneak/baseimage`, built for `linux/amd64` and | libheif | apt `libheif-dev`, `libheif-plugin-aomenc` | HEIF/AVIF codec | | ImageMagick | apt | `magick` | | Ghostscript | apt | `gs` | +| Ruby | apt `ruby`, `ruby-dev` | `/usr/bin/ruby` | +| Bundler | apt `bundler` | `bundle` on `PATH` | 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 65c2bc4..ba427b1 100755 --- a/bin/test +++ b/bin/test @@ -30,6 +30,8 @@ docker run --rm "$img" bash -ec ' vips -l | grep -i heif > /dev/null magick --version gs --version + ruby --version + bundle --version ' echo "== $img: runit service lifecycle" diff --git a/build.sh b/build.sh index 9a06b3e..bf369cb 100755 --- a/build.sh +++ b/build.sh @@ -30,7 +30,8 @@ apt-get -y install --no-install-recommends \ tzdata \ zstd sqlite3 \ libvips-dev libvips-tools libheif-dev libheif-plugin-aomenc \ - imagemagick ghostscript + imagemagick ghostscript \ + ruby ruby-dev bundler # --- Go (latest) ------------------------------------------------------------- gover="$(curl -fsSL 'https://go.dev/VERSION?m=text' | head -n1)" @@ -113,6 +114,8 @@ vips --version vips -l | grep -i heif > /dev/null magick --version gs --version +ruby --version +bundle --version hugo version node --version npm --version