Skip to content

Commit daac3b3

Browse files
committed
chore(Dockerfile): switch to alpine for building the binary
Currently the SLE BCI doesn't provide go 1.26.4, which results in a failure. Consume the Go compiler from the official Go container image. Signed-off-by: Flavio Castelli <fcastelli@suse.com>
1 parent 7a51325 commit daac3b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM registry.suse.com/bci/bci-busybox:${BCI_VERSION} AS final
55
# Image that provides cross compilation tooling.
66
FROM --platform=$BUILDPLATFORM rancher/mirrored-tonistiigi-xx:1.3.0 AS xx
77

8-
FROM --platform=$BUILDPLATFORM registry.suse.com/bci/golang:1.26 AS build
8+
FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS build
99

1010
ARG TARGETPLATFORM
1111
ARG PROJECT_PATH

0 commit comments

Comments
 (0)