Compare commits

9 Commits
Author SHA1 Message Date
sneak 8f976e38e0 Add nginx (closes #11)
Install nginx from apt and check nginx -t in the smoke test.

Model: deepseek-v4-pro
2026-11-05 15:45:26 +00:00
sneak 574c5cdbce Add browsers for tests: Playwright, Firefox, geckodriver, headless Chrome (closes #10)
Firefox comes from Mozilla's own apt repo, pinned above Ubuntu's snap-only
package. geckodriver is at its latest release, independent of the Firefox
version. Playwright installs its Chromium and Firefox; WebKit is skipped
because no repository uses it today. Playwright's Chromium is exposed as
the headless Chrome.

Model: deepseek-v4-pro
2026-11-05 15:45:26 +00:00
sneak 69fc40651e Add Valkey and PostgreSQL (closes #9)
Install valkey-server, valkey-tools and postgresql from apt. Ubuntu
26.04 ships Valkey 9 and PostgreSQL 18, replacing the postgresql16 the
audit pinned.

Model: deepseek-v4-pro
2026-11-05 15:45:26 +00:00
sneak 21c6059b98 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
2026-11-05 15:11:57 +00:00
sneak 43ecbc9736 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
2026-11-05 15:11:57 +00:00
sneak e8db9b9ab8 Add libvips and libheif with development headers (closes #6)
Install libvips-dev, libvips-tools, libheif-dev and
libheif-plugin-aomenc from apt. libvips-tools provides the vips CLI,
which the smoke test uses to confirm libheif is linked as a loader.

Model: deepseek-v4-pro
2026-11-05 15:11:57 +00:00
sneak dffdd95230 Add zstd and the sqlite3 CLI (closes #5)
Install zstd and sqlite3 from apt and check both in the smoke test.

Model: deepseek-v4-pro
2026-11-05 15:11:57 +00:00
sneak 4261fa6908 Add tzdata (closes #4)
Install tzdata from apt so the time zone database is present at run
time, and check a zone lookup in the smoke test.

Model: deepseek-v4-pro
2026-11-05 15:11:57 +00:00
sneak 51175e6c82 Add govulncheck (closes #3)
Install govulncheck with go install into /usr/local/bin, before the cleanup
step, and check it in the smoke test.

Model: deepseek-v4-pro
2026-11-05 15:11:57 +00:00
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ docker run --rm "$img" bash -ec '
valkey-server --version valkey-server --version
valkey-cli --version valkey-cli --version
valkey-server /etc/valkey/valkey.conf valkey-server /etc/valkey/valkey.conf
valkey-cli ping ok=; for i in $(seq 1 50); do if valkey-cli ping 2>/dev/null | grep -q PONG; then ok=1; break; fi; sleep 0.1; done; [ -n "$ok" ]
valkey-cli shutdown nosave valkey-cli shutdown nosave
psql --version psql --version
postgres --version postgres --version
+5 -2
View File
@@ -168,7 +168,7 @@ bundle --version
valkey-server --version valkey-server --version
valkey-cli --version valkey-cli --version
valkey-server /etc/valkey/valkey.conf valkey-server /etc/valkey/valkey.conf
valkey-cli ping ok=; for i in $(seq 1 50); do if valkey-cli ping 2>/dev/null | grep -q PONG; then ok=1; break; fi; sleep 0.1; done; [ -n "$ok" ]
valkey-cli shutdown nosave valkey-cli shutdown nosave
psql --version psql --version
postgres --version postgres --version
@@ -190,6 +190,9 @@ virtualenv --version
test -x /usr/local/sbin/runsvinit test -x /usr/local/sbin/runsvinit
test -d /etc/service test -d /etc/service
# The checks above leave caches behind (node compile cache etc). # The checks above leave caches and log files behind.
rm -rf /tmp/* /var/tmp/* /root/.cache /root/.npm /root/.config rm -rf /tmp/* /var/tmp/* /root/.cache /root/.npm /root/.config
rm -f /var/log/valkey/*
rm -f /var/log/nginx/*
install -d -o valkey -g adm -m 2750 /var/log/valkey
rm -f "$0" rm -f "$0"