#1718  Building Multi-Arch Container Image on Kubernetes
Closed
andrzej opened 3 months ago

We were trying to configure building multi-arch container image on Kubernetes using OneDev and I do not see a way to do that without having access to Docker deployment. If I'm correct, on Kubernetes to build container image, we can either:

  • have docker running somewhere (provided by us) and use Build Docker Image step providing additional options (assuming executor will have access to the provided Docker deployment
  • use Build Docker Image (Kaniko) to use Kaniko for building images

With those two options, I do not see a way to build multi-arch image on Kubernetes (no Docker) without providing additional services, ie. having Docker running somewhere, as if I'm correct Kaniko is unable to build multi-arch images.

What approach to building multi-arch container images on Kubernetes cluster using OneDev would you suggest? Is there any other solution or approach that might allow us building mutli-arch container images on Kubernetes using OneDev? (We do have only a single architecture Kubernetes cluster).

Robin Shen commented 3 months ago

OneDev can only build docker image via Kaniko on Kubernetes. Unless Kaniko supports that (as far as I know it does not), OneDev will not be able to build multi-arch docker image on Kubernetes.

My suggestion would be to connect a separate agent to your OneDev server for building multi-arch images.

Robin Shen changed state to 'Closed' 3 months ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1718
Please wait...
Page is in error, reload to recover