Index | Thread | Search

From:
Lucas Gabriel Vuotto <lucas@sexy.is>
Subject:
Re: sysutils/docker-cli: update to 25.0.3
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
ports@openbsd.org
Date:
Thu, 8 Feb 2024 03:05:55 +0000

Download raw body.

Thread
On Wed, Feb 07, 2024 at 07:20:14PM +0100, Kirill A. Korinsky wrote:
> On Wed, 07 Feb 2024 03:42:08 +0100,
> Lucas Gabriel Vuotto wrote:
> > 
> > There are some differences between Dockerfile handling between the two,
> > which also breaks stuff that currently works (`COPY . .` works with
> > buildx, while it bails out with "When using COPY with more than one
> > source file, the destination must be a directory and end with a /"
> > without it).
> > 
> > I might take a further look during the week.
> > 
> 
> Well, it seems like a kind of progress from Docker Inc.
> 
> An another way is adding podman-remote into ports which should support old way,
> or at least I feel so after reading https://github.com/containers/podman/issues/20975

Release 23 [0] made buildx a separate project, [1]. It also made the
legacy (non-buildx) builder deprecated. I believe that buildx should
also be packaged in order to keep Docker CLI 23+.

I'm not super sure that the patches aren't required anymore; more like
thay aren't _needed_ anymore because the patched files are gone. Haven't
made a complete analysis of the repo, but I did find [2] which uses
syscall, which doesn't work in -current. Some deeper look is required.

I'll try to port buildx during the weekend.

	Lucas

[0]: https://docs.docker.com/engine/release-notes/23.0/
[1]: https://github.com/docker/buildx
[2]: /usr/ports/pobj/docker-cli-25.0.3/go/src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/system/stat_unix.go