build: fully-qualify node image for buildah (no short-name aliases)
buildah doesn't have docker's default 'docker.io/library/<name>' alias resolution. The unqualified `FROM node:26.1-slim` fails with 'short-name did not resolve to an alias and no containers-registries.conf(5) was found'. Spell it out: `docker.io/library/node:26.1-slim`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2a39094484
commit
274e057888
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
# Consumer: .forgejo/workflows/self-deploy.yml and GitOps deployments that run
|
||||
# `sf server /workspace --host 0.0.0.0 --port 4000`.
|
||||
|
||||
FROM node:26.1-slim AS build
|
||||
FROM docker.io/library/node:26.1-slim AS build
|
||||
|
||||
WORKDIR /src
|
||||
ENV CI=1
|
||||
|
|
@ -58,7 +58,7 @@ RUN rm -rf \
|
|||
node_modules/chromium-bidi \
|
||||
packages/*/tsconfig.tsbuildinfo
|
||||
|
||||
FROM node:26.1-slim AS sf-server
|
||||
FROM docker.io/library/node:26.1-slim AS sf-server
|
||||
|
||||
WORKDIR /opt/sf
|
||||
ENV NODE_ENV=production
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue