mirror of
https://github.com/Retropex/dockerfile-deps.git
synced 2025-05-12 16:40:40 +02:00
Fix qemu-arm-static location
This commit is contained in:
parent
b201697e7f
commit
f153b82244
@ -47,10 +47,6 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y qemu qemu-user-static qemu-user binfmt-support
|
|
||||||
sudo cp /usr/bin/qemu-arm-static qemu-arm-static
|
|
||||||
# If CIRCLE_TAG is "BitcoinCore/0.17.0"
|
# If CIRCLE_TAG is "BitcoinCore/0.17.0"
|
||||||
# Then:
|
# Then:
|
||||||
# $SEPARATOR=12
|
# $SEPARATOR=12
|
||||||
@ -67,6 +63,10 @@ jobs:
|
|||||||
DOCKERHUB_DOCKEFILE="$NODE_NAME/$NODE_VERSION/linuxarm32v7.Dockerfile"
|
DOCKERHUB_DOCKEFILE="$NODE_NAME/$NODE_VERSION/linuxarm32v7.Dockerfile"
|
||||||
#
|
#
|
||||||
# Make sure the builder is copy the arm emulator
|
# Make sure the builder is copy the arm emulator
|
||||||
|
sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y qemu qemu-user-static qemu-user binfmt-support
|
||||||
|
sudo cp /usr/bin/qemu-arm-static "$(dirname "$DOCKERHUB_DOCKEFILE")/qemu-arm-static"
|
||||||
sed -i -e 's/#EnableQEMU //g' "$DOCKERHUB_DOCKEFILE"
|
sed -i -e 's/#EnableQEMU //g' "$DOCKERHUB_DOCKEFILE"
|
||||||
#
|
#
|
||||||
echo "Pushing $DOCKERHUB_DOCKEFILE to dockerhub repository $DOCKERHUB_DESTINATION"
|
echo "Pushing $DOCKERHUB_DOCKEFILE to dockerhub repository $DOCKERHUB_DESTINATION"
|
||||||
|
Loading…
Reference in New Issue
Block a user