Skip to content

Commit

Permalink
images: Use cilium-builder image instead of golang to build hubble
Browse files Browse the repository at this point in the history
[ upstream commit f0d3f93 ]

The hubble image currently uses the golang docker image within the build
stage. This commit modifies the build stage to use the cilium-builder
image instead which contains the necessary tooling to allow for arm64
builds in CI workflows that run on amd64 machines.

See cilium#35351 and
cilium#35324 for more context.

Signed-off-by: Ryan Drew <[email protected]>
Signed-off-by: gray <[email protected]>
  • Loading branch information
learnitall authored and joestringer committed Dec 3, 2024
1 parent fcead38 commit d4a3d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/hubble-relay/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ARG CILIUM_BUILDER_IMAGE=quay.io/cilium/cilium-builder:e026d9f4a76c59e748f109213
# BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit.
# Represents the plataform where the build is happening, do not mix with
# TARGETARCH
FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} AS builder
FROM --platform=${BUILDPLATFORM} ${CILIUM_BUILDER_IMAGE} AS builder

# TARGETOS is an automatic platform ARG enabled by Docker BuildKit.
ARG TARGETOS
Expand Down

0 comments on commit d4a3d10

Please sign in to comment.