Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#63502 - [docker] should bundle buildx plugin
Attached to Project:
Community Packages
Opened by Pierre Carru (pierrec) - Monday, 19 August 2019, 16:08 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 02 April 2020, 00:26 GMT
Opened by Pierre Carru (pierrec) - Monday, 19 August 2019, 16:08 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 02 April 2020, 00:26 GMT
|
DetailsSeveral docker client plugins are normally bundled with docker-ce 19.03
See https://github.com/docker/buildx#installing or https://docs.docker.com/buildx/working-with-buildx/#install The official debian packages have them (coming from docker.com) do it: ``` dpkg -L docker-ce-cli | grep cli-plug /usr/libexec/docker/cli-plugins /usr/libexec/docker/cli-plugins/docker-app /usr/libexec/docker/cli-plugins/docker-buildx ``` That's how they do it for the debian package https://github.com/docker/docker-ce-packaging/blob/d47670e992d5776230b979c32683c384f8f0dd8c/deb/common/rules#L14 For the tarball: https://github.com/docker/docker-ce-packaging/blob/d47670e992d5776230b979c32683c384f8f0dd8c/static/scripts/build-cli-plugins |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Thursday, 02 April 2020, 00:26 GMT
Reason for closing: Implemented
Additional comments about closing: docker-1:19.03.8-2
Thursday, 02 April 2020, 00:26 GMT
Reason for closing: Implemented
Additional comments about closing: docker-1:19.03.8-2
Docker Buildx is included in Docker 19.03 and is also bundled with the following Docker Desktop releases. Note that you must enable the ‘Experimental features’ option to use Docker Buildx.
And,
Experimental features provide early access to future product functionality. These features are intended for testing and feedback only as they may change between releases without warning or can be removed entirely from a future release. Experimental features must not be used in production environments. Docker does not offer support for experimental features. For more information, see Experimental features.
So, why should this be added?
The docker documentation states it comes bundled with Docker CE (Community Edition), which is a bundle of docker stuff (not just docker), with those plugins as part of the bundle. The ArchLinux package should aim to replicate such bundle, which currently it is not doing. docker-buildx (and possibly any other plugin that comes bundled to CE) should be part of the package (currently I'm just downloading the binary release from docker-buildx repository and dropping it at /usr/local/lib/docker/cli-plugins).
cli plugin locations are described at https://github.com/docker/cli/issues/1534
Didn't take time to do it yet. If you have a tested PKGBUILD patch I'd be happy to merge it.
While the cli-plugins come bundled, none of the packages I found added the path to the plugins to $PATH. That seems to have been left up to the user.
The two plugins add about 29MB to the package (from 39MB to 68MB). Almost double it.
There is also a lot of dependencies downloaded directly by go (for buildx) out of our source array.
Anyway, give it a try.