kubernetes/minikube

CI: refresh xcgo "image" used in building hyperkit

Fermée

#20 628 ouverte le 15 avr. 2025

 (4 commentaires) (0 réaction) (1 personne assignée)Go (5 222 forks)batch import
help wantedkind/processpriority/important-longterm

Métriques du dépôt

Stars
 (31 799 étoiles)
Métriques de merge PR
 (Merge moyen 12j 19h) (43 PRs mergées en 30 j)

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

Guide contributeur