fix(docker): expose GO_VERSION arg in builder stages

Builder images install Go SDK and must receive GO_VERSION explicitly.
Adds missing ARG to account and rag-server Dockerfiles.
This commit is contained in:
Haitao Pan 2025-12-04 23:15:00 +08:00
parent 59cfd6c397
commit d0a5a613af
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# ------------------------------
ARG GO_RUNTIME_IMAGE=ghcr.io/cloud-neutral-toolkit/go-runtime:latest
FROM ${GO_RUNTIME_IMAGE} AS builder
ARG GO_VERSION="1.24.5"
RUN apt-get update \
&& apt-get install -y --no-install-recommends make git ca-certificates \

View File

@ -4,6 +4,7 @@
ARG GO_RUNTIME_IMAGE=ghcr.io/cloud-neutral-toolkit/go-runtime:latest
FROM ${GO_RUNTIME_IMAGE} AS builder
ARG GO_VERSION="1.24.5"
RUN apt-get update \
&& apt-get install -y --no-install-recommends make git ca-certificates \