photon icon indicating copy to clipboard operation
photon copied to clipboard

Photon should have a docker sub package that provides the docker buildx plugin

Open dcasota opened this issue 1 year ago • 2 comments

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

photon os installer' create-image-util fails with docker 24.05 because of an known issue "unknown flag: --build-context".

Describe the solution you'd like

tdnf install docker-buildx

Describe alternatives you've considered

No response

Additional context

see https://github.com/vmware/photon-os-installer/issues/26

dcasota avatar Mar 22 '24 01:03 dcasota

Thanks for reporting. I created an internal issue for this.

oliverkurth avatar Mar 22 '24 18:03 oliverkurth

no hurry. Facing the amount of cve which have been released for moby 24.x, 25.x and related to buildkit, testing across boundaries is crucial. 0.13.1 with 24.05 works. Facing the 24.05-26.0 releasenotes so far, escaping containers is a big issue. Good luck.

dcasota avatar Mar 23 '24 08:03 dcasota

See https://github.com/vmware/photon/commit/74cb2c22655d7d88d4f2191c7d029d1b354aa5cf

dcasota avatar Oct 17 '24 09:10 dcasota

Hi @sshedi, please could you double check the bits? Actually there seems a file checksum issue. Thank you for your help.

image

dcasota avatar Oct 21 '24 07:10 dcasota

docker-buildx on Ph5 x86_64 works perfectly. Many thanks! Please, push it to Ph4.0 as well.

dcasota avatar Feb 07 '25 19:02 dcasota

@sshedi ^

YustasSwamp avatar Feb 08 '25 01:02 YustasSwamp

Please with this command and give your observations: sudo tdnf install --refresh -y docker-buildx Probably your repodata is not in sync with server, hence the failure.

sshedi avatar Feb 10 '25 08:02 sshedi

Yes, but unfortunately there is no docker-buildx package on the on the open-source 4.0 branch in comparison to the 5.0 branch. Maybe there is a reason on this? I don't know.

Image

In my test lab, a newly compiled 4.0 ISO confirms the situation.

Image

Low priority. I will recheck in a few weeks again.

dcasota avatar Feb 10 '25 11:02 dcasota

docker-buildx on Ph5 x86_64 works perfectly. Many thanks! Please, push it to Ph4.0 as well.

Sorry, I missed this message. I will add it.

sshedi avatar Feb 10 '25 14:02 sshedi

works

fyi tested on

  • Ph4 x86_64: 0.17.1-1
  • Ph5 x86_64 + aarch64: 0.17.1-3

dcasota avatar Feb 14 '25 13:02 dcasota