Dockerfile: call zola by its path in the 0.23 image
zola's image moved the binary from /bin/zola to /zola, outside PATH, so the build stage failed with "zola: executable file not found" after the Renovate bump to 0.23.6 (deploy run 411). Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
679aa02055
commit
2f1cc8184a
1 changed files with 3 additions and 2 deletions
|
|
@ -1,9 +1,10 @@
|
||||||
# Zola publishes no :latest tag; bump the pin manually (flake.nix tracks nixpkgs separately).
|
# Renovate bumps the zola pin; flake.nix (used by the tests) tracks nixpkgs.
|
||||||
FROM ghcr.io/getzola/zola:v0.23.6 AS build
|
FROM ghcr.io/getzola/zola:v0.23.6 AS build
|
||||||
|
|
||||||
COPY . /project
|
COPY . /project
|
||||||
WORKDIR /project
|
WORKDIR /project
|
||||||
RUN ["zola", "build"]
|
# The image has no zola on PATH since 0.23 (/bin/zola moved to /zola)
|
||||||
|
RUN ["/zola", "build"]
|
||||||
|
|
||||||
FROM nginx:1.28-alpine
|
FROM nginx:1.28-alpine
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue