File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Setup defaults for build arguments
2- ARG PLATFORMS=linux/amd64
2+ ARG PLATFORMS=linux/amd64,linux/arm64
33
44# Use distroless as minimal base image to package the manager binary
55# Refer to https://github.com/GoogleContainerTools/distroless for more details
6- # This sha relates to ubi minimal version 8.10-1753676782 , which is tagged as 8.10 and latest as of Jul 28 , 2025
7- ARG BASE_IMAGE=registry.access.redhat.com/ubi8/ubi-minimal@sha256
8- ARG BASE_IMAGE_VERSION=88d40445bdf35b3b848371dec918b7d6ed0ef0e03a4e0f510c10be536e4aa1c9
6+ # This sha relates to ubi minimal version 8.10-1755105495 , which is tagged as 8.10 and latest as of Aug 17 , 2025
7+ ARG BASE_IMAGE=registry.access.redhat.com/ubi8/ubi-minimal
8+ ARG BASE_IMAGE_VERSION=8.10-1755105495
99
1010# Build the manager binary
1111FROM golang:1.24.2 AS builder
Original file line number Diff line number Diff line change @@ -156,14 +156,14 @@ docker-push: ## Push docker image with the manager.
156156# Docker-buildx is used to build the image for multiple OS/platforms
157157# IMG is a mandatory argument to specify the image name
158158# Defaults:
159- # Build Platform: linux/amd64
160- # Build Base OS: registry.access.redhat.com/ubi8/ubi-minimal@sha256
161- # Build Base OS Version: 88d40445bdf35b3b848371dec918b7d6ed0ef0e03a4e0f510c10be536e4aa1c9 (corresponds to tag 8.10-1753676782)
159+ # Build Platform: linux/amd64,linux/arm64
160+ # Build Base OS: registry.access.redhat.com/ubi8/ubi-minimal
161+ # Build Base OS Version: 8.10-1755105495
162162# Pass only what is required, the rest will be defaulted
163163# Setup defaults for build arguments
164- PLATFORMS ?= linux/amd64
165- BASE_IMAGE ?= registry.access.redhat.com/ubi8/ubi-minimal@sha256
166- BASE_IMAGE_VERSION ?= 88d40445bdf35b3b848371dec918b7d6ed0ef0e03a4e0f510c10be536e4aa1c9
164+ PLATFORMS ?= linux/amd64,linux/arm64
165+ BASE_IMAGE ?= registry.access.redhat.com/ubi8/ubi-minimal
166+ BASE_IMAGE_VERSION ?= 8.10-1755105495
167167
168168docker-buildx :
169169 @if [ -z " ${IMG} " ]; then \
You can’t perform that action at this time.
0 commit comments