Cloud.drone.io arm build?


#1

Hello,

Trying to build an arm docker image using cloud.drone.io with the following config:

platform:
  os: linux
  arch: arm32

pipeline:
  build:
    image: arm32v6/python:2.7.15-alpine3.8
    commands:
      - echo "Hello World!"

I get:

standard_init_linux.go:190: exec user process caused "exec format error" 

Which means it tries to build on x86…

I have tried setting arch to arm, arm32 no change, how can I get it to build?

Thank you,
Razvan


#2

Make sure you are using the 1.0 syntax. Here is an example linux arm configuration that is successfully running on Drone Cloud:


#3

Hi,

Yup that fixed it!

Perfect! Thank you.
Regards,
Razvan