GoogleContainerTools / GoogleContainerTools/skaffold

cross-build should not use cli unless specified

Open
#9,184 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

- #9103 enabled users to run build with docker compatible daemon without docker cli, for non-cross-platform build.
- However, corss-platform builds still uses docker cli even users not specified, we should enable to use the docker-compatible backend build without cli for cross-platfrom builds as well.
- @ericzzzzzzz made some attempts, here is what we got
- We can specify platform with buildOption when issuing Build request to docker backend, if docker backend host machine has [qemu](https://docs.docker.com/build/building/multi-platform/#qemu) set-up,
- We can do for minikube with `minikube ssh "docker run --privileged --rm tonistiigi/binfmt --install all"` for our github action ci
- For our internal kokoro CI, it seems that we need to upgrade docker engine version as well to make cross-platform builds work without using buildx(docker cli). To upgrade docker engine, please see here : https://docs.docker.com/engine/install/ubuntu/

The ask in this issue, is to enable docker cross-platform builds without cli



Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.