Skip to content

Commit b509dc9

Browse files
authored
Merge pull request #40 from ttsuuubasa/dockerfile-mod
Move BUILDER_IMAGE default from Makefile to Dockerfile
2 parents f3a5fc6 + b81a976 commit b509dc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ARG BUILDER_IMAGE
1616
ARG ARCH
1717

18-
FROM ${BUILDER_IMAGE} AS builder
18+
FROM ${BUILDER_IMAGE:-docker.io/library/golang:1.24.2} AS builder
1919
WORKDIR /workspace
2020

2121
# Copy the Go Modules manifests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CONTROLLER_GEN = go run ${PROJECT_DIR}/vendor/sigs.k8s.io/controller-tools/cmd/c
2626
ARCH ?= $(shell go env GOARCH)
2727

2828
CONTAINER_RUNTIME ?= docker
29-
BUILDER_IMAGE ?= docker.io/library/golang:1.24.2
29+
BUILDER_IMAGE ?=
3030
IMG ?= karpenter-clusterapi-controller
3131

3232
all: help

0 commit comments

Comments
 (0)