File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ FROM golang:1.21.7-bookworm as builder
17
17
RUN apt-get update && apt-get install -y cmake clang musl-dev openssl
18
18
WORKDIR /go/src/github.com/kubeflow/pipelines
19
19
COPY . .
20
- RUN GO111MODULE=on go build -o /bin/apiserver backend/src/apiserver/*.go
20
+ RUN GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o /bin/apiserver backend/src/apiserver/*.go
21
21
# Check licenses and comply with license terms.
22
22
RUN ./hack/install-go-licenses.sh
23
23
# First, make sure there's no forbidden license.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN apk update && apk upgrade && \
21
21
WORKDIR /go/src/github.com/kubeflow/pipelines
22
22
COPY . .
23
23
24
- RUN GO111MODULE=on go build -o /bin/cache_server backend/src/cache/*.go
24
+ RUN GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o /bin/cache_server backend/src/cache/*.go
25
25
26
26
# Check licenses and comply with license terms.
27
27
RUN ./hack/install-go-licenses.sh
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ COPY . .
21
21
RUN apk update && apk upgrade && \
22
22
apk add --no-cache bash git openssh gcc musl-dev
23
23
24
- RUN GO111MODULE=on go build -o /bin/persistence_agent backend/src/agent/persistence/*.go
24
+ RUN GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o /bin/persistence_agent backend/src/agent/persistence/*.go
25
25
# Check licenses and comply with license terms.
26
26
RUN ./hack/install-go-licenses.sh
27
27
# First, make sure there's no forbidden license.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ COPY . .
21
21
RUN apk update && apk upgrade && \
22
22
apk add --no-cache bash git openssh gcc musl-dev
23
23
24
- RUN GO111MODULE=on go build -o /bin/controller backend/src/crd/controller/scheduledworkflow/*.go
24
+ RUN GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o /bin/controller backend/src/crd/controller/scheduledworkflow/*.go
25
25
# Check licenses and comply with license terms.
26
26
RUN ./hack/install-go-licenses.sh
27
27
# First, make sure there's no forbidden license.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN apk add --no-cache git gcc musl-dev
20
20
WORKDIR /src/github.com/kubeflow/pipelines
21
21
COPY . .
22
22
23
- RUN GO111MODULE=on go build -o /bin/controller backend/src/crd/controller/viewer/*.go
23
+ RUN GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o /bin/controller backend/src/crd/controller/viewer/*.go
24
24
# Check licenses and comply with license terms.
25
25
RUN ./hack/install-go-licenses.sh
26
26
# First, make sure there's no forbidden license.
You can’t perform that action at this time.
0 commit comments