-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile: update to docker v27.4.0 #2830
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thaJeztah
force-pushed
the
bump_engine_27.4
branch
from
December 5, 2024 09:30
f816f9f
to
a6c4241
Compare
thaJeztah
changed the title
Dockerfile: update to docker v27.4.0-rc.3
Dockerfile: update to docker v27.4.0-rc.4
Dec 5, 2024
Updated to rc.4 |
thaJeztah
force-pushed
the
bump_engine_27.4
branch
from
December 9, 2024 16:32
a6c4241
to
edc0fe1
Compare
thaJeztah
changed the title
Dockerfile: update to docker v27.4.0-rc.4
Dockerfile: update to docker v27.4.0
Dec 9, 2024
Updated to v27.4.0 |
crazy-max
approved these changes
Dec 9, 2024
@crazy-max any ideas on this failure? Is it somehow building for the wrong arch, or picking up cache for the wrong one? 25 [linux/amd64->windows/arm64 buildx-build 1/1] RUN --mount=type=bind,target=. --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go/pkg/mod --mount=type=bind,from=buildx-version,source=/buildx-version,target=/buildx-version <<EOT (set -e...)
#25 0.068 + CGO_ENABLED=0 go build -mod vendor -trimpath -ldflags '-X github.com/docker/buildx/version.Version=df70f75 -X github.com/docker/buildx/version.Revision=df70f7519b6457f68692c0a14423d47667536db5 -X github.com/docker/buildx/version.Package=github.com/docker/buildx -s -w' -o /usr/bin/docker-buildx ./cmd/buildx
#25 61.93 /usr/bin/docker-buildx: PE32+ executable for MS Windows 6.01 (console), ARM64, 6 sections
#25 61.95 file /usr/bin/docker-buildx does not match expected target architecture arm64: PE32+ executable for MS Windows 6.01 (console), ARM64, 6 sections
#25 ERROR: process "/bin/sh -c set -e\n xx-go --wrap\n DESTDIR=/usr/bin VERSION=$(cat /buildx-version/version) REVISION=$(cat /buildx-version/revision) GO_EXTRA_LDFLAGS=\"-s -w\" ./hack/build\n file /usr/bin/docker-buildx\n xx-verify --static /usr/bin/docker-buildx\n" did not complete successfully: exit code: 1
------
> [linux/amd64->windows/arm64 buildx-build 1/1] RUN --mount=type=bind,target=. --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go/pkg/mod --mount=type=bind,from=buildx-version,source=/buildx-version,target=/buildx-version <<EOT (set -e...):
0.068 + CGO_ENABLED=0 go build -mod vendor -trimpath -ldflags '-X github.com/docker/buildx/version.Version=df70f75 -X github.com/docker/buildx/version.Revision=df70f7519b6457f68692c0a14423d47667536db5 -X github.com/docker/buildx/version.Package=github.com/docker/buildx -s -w' -o /usr/bin/docker-buildx ./cmd/buildx
61.93 /usr/bin/docker-buildx: PE32+ executable for MS Windows 6.01 (console), ARM64, 6 sections
61.95 file /usr/bin/docker-buildx does not match expected target architecture arm64: PE32+ executable for MS Windows 6.01 (console), ARM64, 6 sections
------
Dockerfile:76
--------------------
75 | ARG GO_EXTRA_FLAGS
76 | >>> RUN --mount=type=bind,target=. \
77 | >>> --mount=type=cache,target=/root/.cache \
78 | >>> --mount=type=cache,target=/go/pkg/mod \
79 | >>> --mount=type=bind,from=buildx-version,source=/buildx-version,target=/buildx-version <<EOT
80 | >>> set -e
81 | >>> xx-go --wrap
82 | >>> DESTDIR=/usr/bin VERSION=$(cat /buildx-version/version) REVISION=$(cat /buildx-version/revision) GO_EXTRA_LDFLAGS="-s -w" ./hack/build
83 | >>> file /usr/bin/docker-buildx
84 | >>> xx-verify --static /usr/bin/docker-buildx
85 | >>> EOT
86 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -e\n xx-go --wrap\n DESTDIR=/usr/bin VERSION=$(cat /buildx-version/version) REVISION=$(cat /buildx-version/revision) GO_EXTRA_LDFLAGS=\"-s -w\" ./hack/build\n file /usr/bin/docker-buildx\n xx-verify --static /usr/bin/docker-buildx\n" did not complete successfully: exit code: 1
make: *** [Makefile:35: release] Error 1
Error: Process completed with exit code 2. |
Yes this is similar to tonistiigi/xx#174 (comment) 😢 |
@thaJeztah You can rebase |
Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah
force-pushed
the
bump_engine_27.4
branch
from
December 10, 2024 09:56
edc0fe1
to
c281e18
Compare
Rebased; looks happy now 👍 |
crazy-max
approved these changes
Dec 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.