diff --git a/.github/workflows/snapshot-build.yml b/.github/workflows/snapshot-build.yml index 85cb09bceb..7420f0fa7c 100644 --- a/.github/workflows/snapshot-build.yml +++ b/.github/workflows/snapshot-build.yml @@ -106,9 +106,13 @@ jobs: ARTIFACT="${{ matrix.build.base-artifact }}" docker run --rm --platform linux/amd64 --entrypoint /bin/cat $IMAGE /$ARTIFACT > $ARTIFACT-ubuntu-x86_64-skylake-${{ github.ref_name }} + # TODO: Pull is a workaround for https://github.com/moby/moby/issues/48197#issuecomment-2472265028 + docker pull --platform linux/amd64/v2 $IMAGE docker run --rm --platform linux/amd64/v2 --entrypoint /bin/cat $IMAGE /$ARTIFACT > $ARTIFACT-ubuntu-x86_64-v2-${{ github.ref_name }} if [ "${{ matrix.build.image }}" == "farmer" ]; then docker run --rm --platform linux/amd64 --entrypoint /bin/cat $IMAGE /$ARTIFACT-rocm > $ARTIFACT-rocm-ubuntu-x86_64-skylake-${{ github.ref_name }} + # TODO: Pull is a workaround for https://github.com/moby/moby/issues/48197#issuecomment-2472265028 + docker pull --platform linux/amd64/v2 $IMAGE docker run --rm --platform linux/amd64/v2 --entrypoint /bin/cat $IMAGE /$ARTIFACT-rocm > $ARTIFACT-rocm-ubuntu-x86_64-v2-${{ github.ref_name }} fi docker run --rm --platform linux/arm64 --entrypoint /bin/cat $IMAGE /$ARTIFACT > $ARTIFACT-ubuntu-aarch64-${{ github.ref_name }} diff --git a/docker/bootstrap-node.Dockerfile b/docker/bootstrap-node.Dockerfile index f5b2fad854..7518bd6102 100644 --- a/docker/bootstrap-node.Dockerfile +++ b/docker/bootstrap-node.Dockerfile @@ -78,7 +78,7 @@ RUN \ if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI - "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \ + "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \ # x86-64-v3 with AES-NI "v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \ # v4 is compiled for Zen 4+ diff --git a/docker/farmer.Dockerfile b/docker/farmer.Dockerfile index 148350f2d0..7c637abfaa 100644 --- a/docker/farmer.Dockerfile +++ b/docker/farmer.Dockerfile @@ -117,7 +117,7 @@ RUN \ if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI - "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \ + "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \ # x86-64-v3 with AES-NI "v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \ # v4 is compiled for Zen 4+ diff --git a/docker/node.Dockerfile b/docker/node.Dockerfile index ac57b51cae..b5fbb757c2 100644 --- a/docker/node.Dockerfile +++ b/docker/node.Dockerfile @@ -79,7 +79,7 @@ RUN \ if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI - "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \ + "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \ # x86-64-v3 with AES-NI "v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \ # v4 is compiled for Zen 4+ diff --git a/docker/runtime.Dockerfile b/docker/runtime.Dockerfile index 2d6d50ffb8..da4abfd9dd 100644 --- a/docker/runtime.Dockerfile +++ b/docker/runtime.Dockerfile @@ -78,7 +78,7 @@ RUN \ if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \ case "$TARGETVARIANT" in \ # x86-64-v2 with AES-NI - "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \ + "v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \ # x86-64-v3 with AES-NI "v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \ # v4 is compiled for Zen 4+