vmware / photon-os-installer

Photon OS Installer
Other
12 stars 18 forks source link

create-image-util with docker-buildx #26

Closed dcasota closed 5 months ago

dcasota commented 5 months ago

Is your feature request related to a problem? Please describe.

Please consider docker-buildx instead of docker only. create-image-utils fails with on x86_64 Photon OS 5.0 with docker 24.05 because of an known issue "unknown flag: --build-context".

Describe the solution you'd like

Describe alternatives you've considered

No response

Additional context

No response

oliverkurth commented 5 months ago

Thanks for the report. I think this should be fixed in the Photon docker packages though. Photon should have a docker sub package that provides the docker buildx plugin.

Can you file an issue at https://github.com/vmware/photon ?

I noticed this myself a while ago, but forgot.

oliverkurth commented 5 months ago

This is how I fixed it: download the plugin from https://github.com/docker/buildx and move to /usr/lib/docker/cli-plugins/docker-buildx. Also do chmod ugo+x on it.