summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-04-15 17:10:26 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-04-15 17:10:26 -0400
commit2cc2bc1acf8d132c1d88d763c67b82bdb87cb886 (patch)
treeff7c16e8dc59b6c3d7bd660e53c4ffc176befac8 /recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
parent34087227ee6bf77eeed6b0728a8c3bb734a6ce35 (diff)
downloadmeta-virtualization-2cc2bc1acf8d132c1d88d763c67b82bdb87cb886.tar.gz
docker-ce: update to v20.10-beta
moby has moved on to the 20.10+ series, while docker-ce has stayed behind a bit. Master of docker-ce now has imports from moby and is getting ready for release. To keep our variants from diverging, we switch to master (for now) and will track the new development. We adapt some patches from the moby build to work for docker-ce, in particular, we cannot use docker to build docker, so we port the cli building from moby. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch')
-rw-r--r--recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch27
1 files changed, 12 insertions, 15 deletions
diff --git a/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch b/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
index c11c6e6a..f198b4ed 100644
--- a/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
+++ b/recipes-containers/docker/docker-ce/0001-dynbinary-use-go-cross-compiler.patch
@@ -8,19 +8,16 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
8 hack/make/.binary | 2 +- 8 hack/make/.binary | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-) 9 1 file changed, 1 insertion(+), 1 deletion(-)
10 10
11diff --git a/src/import/components/engine/hack/make/.binary b/src/import/components/engine/hack/make/.binary 11Index: git/src/import/components/engine/hack/make/.binary
12index 53de6749e5..47ab2a754f 100644 12===================================================================
13--- a/src/import/components/engine/hack/make/.binary 13--- git.orig/src/import/components/engine/hack/make/.binary
14+++ b/src/import/components/engine/hack/make/.binary 14+++ git/src/import/components/engine/hack/make/.binary
15@@ -81,7 +81,7 @@ esac 15@@ -81,7 +81,7 @@
16 16
17 echo "Building: $DEST/$BINARY_FULLNAME" 17 echo "Building: $DEST/$BINARY_FULLNAME"
18 echo "GOOS=\"${GOOS}\" GOARCH=\"${GOARCH}\" GOARM=\"${GOARM}\"" 18 echo "GOOS=\"${GOOS}\" GOARCH=\"${GOARCH}\" GOARM=\"${GOARM}\""
19-go build \ 19- go build \
20+${GO} build \ 20+ ${GO} build \
21 -o "$DEST/$BINARY_FULLNAME" \ 21 -o "$DEST/$BINARY_FULLNAME" \
22 "${BUILDFLAGS[@]}" \ 22 "${BUILDFLAGS[@]}" \
23 -ldflags " 23 -ldflags "
24--
252.19.1
26