From 4261fa690879e74bca87d37ed8c3fc34ed19fce2 Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 5 Nov 2026 13:54:08 +0000 Subject: [PATCH] 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 --- README.md | 1 + bin/test | 1 + build.sh | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7819a43..d8e6ec6 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ Image: `git.eeqj.de/sneak/baseimage`, built for `linux/amd64` and | pyenv | git tag | `/usr/local/pyenv` | | Python (latest) | `pyenv install` | `/usr/local/pyenv/versions/*` | | virtualenv | apt, and pip in pyenv Python | `virtualenv` on `PATH` | +| tzdata | apt | `/usr/share/zoneinfo` | 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 5dde42f..3ae4415 100755 --- a/bin/test +++ b/bin/test @@ -23,6 +23,7 @@ docker run --rm "$img" bash -ec ' prettier --version shellcheck --version govulncheck -version + test -e /usr/share/zoneinfo/America/New_York ' echo "== $img: runit service lifecycle" diff --git a/build.sh b/build.sh index 0499192..cc7afea 100755 --- a/build.sh +++ b/build.sh @@ -26,7 +26,8 @@ apt-get -y install --no-install-recommends \ libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses-dev \ libreadline-dev libsqlite3-dev libssl-dev libxml2-dev libxmlsec1-dev \ tk-dev uuid-dev zlib1g-dev \ - shellcheck + shellcheck \ + tzdata # --- Go (latest) ------------------------------------------------------------- gover="$(curl -fsSL 'https://go.dev/VERSION?m=text' | head -n1)" @@ -102,6 +103,7 @@ go version govulncheck -version golangci-lint version shellcheck --version +test -e /usr/share/zoneinfo/America/New_York hugo version node --version npm --version