[pipelines] use armhf docker image

Tim Clephas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2018

Hello all,

I am trying to use the `osrf/ubuntu_armhf:xenial` image for my pipeline. I immediately get a `exec format error` which google suggest has to do with the arm/x86.

 

Is it possible to use armhf images in the bitbucket pipelines? We need this for compiling our binaries which will run on arm based devices.

Thanks,

Tim

 

Build setuppanic: standard_init_linux.go:178: exec user process caused "exec format error" [recovered] panic: standard_init_linux.go:178: exec user process caused "exec format error"goroutine 1 [running, locked to thread]:panic(0x7eb2e0, 0xc820154a80) /usr/lib/go1.6/src/runtime/panic.go:481 +0x3e6github.com/urfave/cli.HandleAction.func1(0xc8200ab2f8) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x38epanic(0x7eb2e0, 0xc820154a80) /usr/lib/go1.6/src/runtime/panic.go:443 +0x4e9github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0xc8200aac08, 0xc8200220c0, 0xc8200aad18) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x136github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0xc820060a00, 0x7f10df5e64d0, 0xc820154a80) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x5b1main.glob.func8(0xc820080780, 0x0, 0x0) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/main_unix.go:26 +0x68reflect.Value.call(0x74fac0, 0x9012a0, 0x13, 0x847808, 0x4, 0xc8200ab278, 0x1, 0x1, 0x0, 0x0, ...) /usr/lib/go1.6/src/reflect/value.go:435 +0x120dreflect.Value.Call(0x74fac0, 0x9012a0, 0x13, 0xc8200ab278, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/lib/go1.6/src/reflect/value.go:303 +0xb1github.com/urfave/cli.HandleAction(0x74fac0, 0x9012a0, 0xc820080780, 0x0, 0x0) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x2eegithub.com/urfave/cli.Command.Run(0x84a6b8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8e05e0, 0x51, 0x0, ...) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xfecgithub.com/urfave/cli.(*App).Run(0xc820001c80, 0xc82000a100, 0x2, 0x2, 0x0, 0x0) /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0xaa4main.main() /build/amd64-usr/var/tmp/portage/app-emulation/runc-1.0.0_rc2_p9/work/runc-1.0.0_rc2_p9/main.go:137 +0xe24Skipping cache upload for failed step+ umask 000

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events