From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Christian Stewart via buildroot <buildroot@buildroot.org>
Cc: Joachim Wiberg <troglobit@gmail.com>,
Tian Yuanhao <tianyuanhao3@163.com>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
Christian Stewart <christian@aperture.us>
Subject: Re: [Buildroot] [PATCH v3 1/1] package/docker-cli-buildx: new package
Date: Sat, 13 Jul 2024 08:33:13 +0200 [thread overview]
Message-ID: <20240713083313.40ba0675@windsurf> (raw)
In-Reply-To: <20230724010907.411055-1-christian@aperture.us>
On Sun, 23 Jul 2023 18:09:07 -0700
Christian Stewart via buildroot <buildroot@buildroot.org> wrote:
> buildx is a docker CLI plugin implementing extended build features.
>
> buildx is the default builder as of Docker v23.x, and if the plugin is not
> present, the CLI will output an error warning that it is using the deprecated
> built-in builder instead of the buildx builder.
>
> However, buildx is a separate repository from docker-cli: it is a plugin that
> needs to be installed at /usr/lib/docker/cli-plugins on the target.
>
> https://github.com/docker/buildx
>
> Signed-off-by: Christian Stewart <christian@aperture.us>
>
> ---
Sorry for the super long delay: patch applied. I'm sure you'll need to
send a version bump :)
Perhaps with a version bump this part:
+# create the go.mod file with required language version go1.20
+# remove the conflicting vendor/modules.txt
+# https://github.com/moby/moby/issues/44618#issuecomment-1343565705
+define DOCKER_CLI_BUILDX_FIX_VENDORING
+ printf "module $(DOCKER_CLI_BUILDX_GOMOD)\n\ngo 1.20\n" > $(@D)/go.mod
+ rm -f $(@D)/vendor/modules.txt
+endef
+DOCKER_CLI_BUILDX_POST_EXTRACT_HOOKS += DOCKER_CLI_BUILDX_FIX_VENDORING
can do away or be tweaked?
Thanks a lot, and again sorry for the delay.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-07-13 6:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-24 1:09 [Buildroot] [PATCH v3 1/1] package/docker-cli-buildx: new package Christian Stewart via buildroot
2023-09-15 21:54 ` Christian Stewart via buildroot
2024-07-13 6:33 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240713083313.40ba0675@windsurf \
--to=buildroot@buildroot.org \
--cc=christian@aperture.us \
--cc=thomas.petazzoni@bootlin.com \
--cc=tianyuanhao3@163.com \
--cc=troglobit@gmail.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.