File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11# Build the libvirt-provider binary
2- FROM --platform=$BUILDPLATFORM golang:1.26-bookworm AS builder
2+ FROM --platform=$BUILDPLATFORM golang:1.26.1-bookworm AS builder
3+
4+ # Prevent Go from downloading a different toolchain at build time.
5+ # The Docker image IS the toolchain — if go.mod requires something newer,
6+ # we want a loud failure, not a silent download.
7+ ENV GOTOOLCHAIN=local
38
49WORKDIR /workspace
510
@@ -50,7 +55,7 @@ RUN if [ "$TARGETARCH" = "$BUILDARCH" ]; then \
5055 mv /go/bin/linux_$TARGETARCH/irictl-machine /workspace/irictl-machine; \
5156 fi
5257
53-
58+
5459FROM busybox:1.37.0-uclibc AS busybox
5560
5661# Since we're leveraging apt to pull in dependencies, we use `gcr.io/distroless/base` because it includes glibc.
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ module github.com/ironcore-dev/libvirt-provider
22
33go 1.24.1
44
5+ toolchain go1.26.1
6+
57require (
68 github.com/blang/semver/v4 v4.0.0
79 github.com/digitalocean/go-libvirt v0.0.0-20250616175656-5843751af96c
You can’t perform that action at this time.
0 commit comments