Commit a88a18a
committed
docker: pin build-env base to node:22-bookworm
The CI deploy runs inside the prebuilt changkun/modern-cpp-tutorial:build-env
image. Per the Docker Hub API that image was last pushed 2019-07-15 and
never updated -- built from node:latest, which was Node 12 at the time.
Hexo 8 requires Node >= 20.19, so that stale image cannot run the
upgraded toolchain; pushing the Hexo 8 upgrade without rebuilding it will
break the deploy at 'hexo generate'.
Pin to a concrete current LTS so the rebuild is deterministic and won't
silently drift again. NOTE: this Dockerfile change is untested -- the
image still dpkg-installs a 2019 pandoc 2.7.3 .deb and texlive-full, and
CI's make target builds pdf+epub as well as the site, so a rebuild needs
a one-off test ('make build-env' then a full 'make') before relying on
it to deploy.1 parent 74755a1 commit a88a18a
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
0 commit comments