kubernetes/minikube

CI: refresh xcgo "image" used in building hyperkit

Open

#20628 opened on Apr 15, 2025

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Go (31,799 stars) (5,222 forks)batch import
help wantedkind/processpriority/important-longterm

Description

in our Makefile

we have a docker imge HYPERKIT_BUILD_IMAGE ?= gcr.io/k8s-minikube/xcgo:go1.22.2

that is built based on "https://github.com/neilotoole/xcgo"

and it is used to build hyperkit driver

	docker run --rm -e GOCACHE=/app/.cache -e IN_DOCKER=1 \
		--user $(shell id -u):$(shell id -g) -w /app \
		-v $(PWD):/app -v $(GOPATH):/go --init --entrypoint "" \
		$(HYPERKIT_BUILD_IMAGE) /bin/bash -c 'CC=o64-clang CXX=o64-clang++ /usr/bin/make $@'


that image is based ubuntu bionic https://github.com/neilotoole/xcgo/blob/044ab7c3f254b6418528b07734218b87240d72e7/Dockerfile#L21

I would like to see more refreshed Ubuntu and newer golang

Contributor guide