Skip to content

Instantly share code, notes, and snippets.

@BugRoger
Created February 9, 2022 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BugRoger/20d76a2f46c24f277b859bcd6bf2ea60 to your computer and use it in GitHub Desktop.
Save BugRoger/20d76a2f46c24f277b859bcd6bf2ea60 to your computer and use it in GitHub Desktop.
docker buildx build --push --platform linux/amd64,linux/arm --build-arg HKKNX=2.2.0 -t keppel.eu-de-1.cloud.sap/ccloud/hkknx:latest -t keppel.eu-de-1.cloud.sap/ccloud/hkknx:2.2.0-202202091238 -t keppel.eu-de-1.cloud.sap/ccloud/hkknx:2.2.0 --rm .
[+] Building 4.3s (15/15) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 485B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [linux/arm/v7 internal] load metadata for docker.io/library/alpine:latest 0.7s
=> [linux/amd64 internal] load metadata for docker.io/library/alpine:latest 0.6s
=> [linux/arm/v7 build 1/4] FROM docker.io/library/alpine:latest@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 0.0s
=> => resolve docker.io/library/alpine:latest@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 0.0s
=> [linux/amd64 stage-1 1/2] FROM docker.io/library/alpine:latest@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 0.0s
=> => resolve docker.io/library/alpine:latest@sha256:21a3deaa0d32a8057914f36584b5288d2e5ecc984380bc0118285c70fa8c9300 0.0s
=> CACHED [linux/amd64 build 2/4] RUN apk --no-cache add curl 0.0s
=> CACHED [linux/amd64 build 3/4] RUN curl -L https://github.com/brutella/hkknx-public/releases/download/2.2.0/hkknx-2.2.0_$(echo linux/amd64 | tr "/" "_" | cut -f0-2 -d "_").tar.gz | tar xz 0.0s
=> CACHED [linux/amd64 build 4/4] RUN ./hkknx -version 0.0s
=> CACHED [linux/amd64 stage-1 2/2] COPY --from=build /hkknx /usr/bin/ 0.0s
=> CACHED [linux/arm/v7 build 2/4] RUN apk --no-cache add curl 0.0s
=> CACHED [linux/arm/v7 build 3/4] RUN curl -L https://github.com/brutella/hkknx-public/releases/download/2.2.0/hkknx-2.2.0_$(echo linux/arm/v7 | tr "/" "_" | cut -f0-2 -d "_").tar.gz | tar xz 0.0s
=> CACHED [linux/arm/v7 build 4/4] RUN ./hkknx -version 0.0s
=> CACHED [linux/arm/v7 stage-1 2/2] COPY --from=build /hkknx /usr/bin/ 0.0s
=> ERROR exporting to image 3.6s
=> => exporting layers 0.0s
=> => exporting manifest sha256:263f15f0035b2a800fb70f67858c22d9323085b399db70f69bbe029b724f1661 0.0s
=> => exporting config sha256:50768aaee41f9f09fc890acb691b3f607db808a3e497172a35eb94484c0c5a1e 0.0s
=> => exporting manifest sha256:f3ee6f319a6320d53946058ff34e524e4b6a900d982b92eed04eea9aac97fb23 0.0s
=> => exporting config sha256:d3713751d30c3d5052529ee489cc27befabcb428d14819385abfdc0d42a7bf22 0.0s
=> => exporting manifest list sha256:a4aae163a1a02b2be9f4b0490e650d52c1535cc523fe87f0a1bcec62a8ec0541 0.0s
=> => pushing layers 3.4s
=> => pushing manifest for keppel.eu-de-1.cloud.sap/ccloud/hkknx:latest@sha256:a4aae163a1a02b2be9f4b0490e650d52c1535cc523fe87f0a1bcec62a8ec0541 0.1s
------
> exporting to image:
------
error: failed to solve: failed commit on ref "manifest-sha256:263f15f0035b2a800fb70f67858c22d9323085b399db70f69bbe029b724f1661": unexpected status: 400 Bad Request
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment