File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
# directly replaced. See here, and note that "stage" parameter mentioned there has been renamed to
21
21
# "build-context": https://github.com/docker/buildx/pull/904#issuecomment-1005871838
22
22
FROM golang:1.24.6-bookworm@sha256:bdc7cfd953b2701fcd95fd591ea3d788f41e4b74f21f1787b9f9843a28e72196 AS builder-base
23
- FROM builder-base AS builder
23
+ FROM --platform=$BUILDPLATFORM builder-base AS builder
24
24
25
25
ARG TARGETARCH
26
26
27
27
ENV GOPATH=/gopath/
28
28
ENV PATH=$GOPATH/bin:$PATH
29
29
30
- RUN apt-get update --fix-missing && apt-get --yes install libsystemd-dev gcc-aarch64-linux-gnu
30
+ RUN apt-get update --fix-missing && apt-get --yes install libsystemd-dev gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu
31
31
RUN go version
32
32
33
33
COPY . /gopath/src/k8s.io/node-problem-detector/
You can’t perform that action at this time.
0 commit comments