Skip to content

Commit c564909

Browse files
committed
Ensure Go is available to build jsonnet dependencies on non-x86 architectures.
1 parent cc9ff49 commit c564909

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
FROM docker.io/golang:1.24.5 AS golang
2+
13
FROM docker.io/python:3.12.11-slim-bookworm AS base
24

35
ARG TARGETARCH
@@ -21,6 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2123
&& curl -sSL https://install.python-poetry.org | python - --version ${POETRY_VERSION} \
2224
&& mkdir -p /app/.config
2325

26+
COPY --from=golang /usr/local/go /usr/local/go
2427

2528
COPY pyproject.toml poetry.lock ./
2629

0 commit comments

Comments
 (0)