jaapmarcus
(Jaap Marcus)
October 29, 2021, 1:22pm
1
Trying to setup automated building for packages on ARM how ever I am not able to install / download the drone-runner-docker for ARM64/v8
docker run --detach \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--env=DRONE_RPC_PROTO=https \
--env=DRONE_RPC_HOST=drone.xxxx.xyz \
--env=DRONE_RPC_SECRET=xxxx \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_RUNNER_NAME=runner-arm \
--publish=3000:3000 \
--restart=always \
--name=runner \
drone/drone-runner-docker:linux-arm64
But when I run the command on my server:
WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
When I run: uname -a
ubuntu@instance-20211029-1448:~$ uname -a
Linux instance-20211029-1448 5.11.0-1019-oracle #20~20.04.1-Ubuntu SMP Tue Sep 21 14:20:46 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
xxx have been replaced…
jaapmarcus
(Jaap Marcus)
October 29, 2021, 5:33pm
2
Nevermind:
–platform=arm64 did the trick
mg64ve
(marco)
February 24, 2022, 2:41pm
3
Hi @jaapmarcus , did you manage to make it working?
I have an issue. Please check the following post:
a similar configuration on arm64 stays on the following state forever:
[image]
without completing the operation.
The following is the script:
docker network create gogs_network
docker run -d --rm \
--name=gogs_gogs \
--net gogs_network \
-p 8122:22 \
-p 3100:3000 \
-v ${PWD}/gogs:/data \
gogs/gogs
docker run -d --rm \
--volume=${PWD}/drone:/var/lib/drone \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--env=DRONE_OPEN=true \
--env=DRONE_SERVER_HOST=gogs_drone_ser…
Thanks.
drone
(Brad Rydzewski)
February 24, 2022, 5:27pm
4
@mg64ve he mentions he was able to get it working by including the --platform=arm64
flag in the docker run
command.
Hello,
I’m surprised that image tagged as arm and arm64 are in truth with AMD64 architecture. Something is missed while building these image ?
Thank you