kubernetes/minikube

CI: refresh xcgo "image" used in building hyperkit

Open

#20,628 建立於 2025年4月15日

在 GitHub 查看
 (4 留言) (0 反應) (1 負責人)Go (31,799 star) (5,222 fork)batch import
help wantedkind/processpriority/important-longterm

描述

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

貢獻者指南

CI: refresh xcgo "image" used in building hyperkit · kubernetes/minikube#20628 | Good First Issue