Docker Community Forums

Share and learn in the Docker community.

CI Build Failure on apt-get calls (arm32v7/debian)

build

(Eichelkrautadam) #1

Hey all,

Seemingly simple docker file doesn’t seem to work in Docker CI build environments, where it builds just fine locally. Maybe someone can point me to where I’m going wrong with this?

Here’s a really simple dockerfile:

FROM arm32v7/debian
 
RUN apt-get update && apt-get install -y nginx

I get this guy in the output:

standard_init_linux.go:187: exec user process caused "exec format error"
...
The command '/bin/sh -c apt-get update && apt-get install nginx -y' returned a non-zero code: 1
ERROR: Build failed: The command '/bin/sh -c apt-get update && apt-get install nginx -y' returned a non-zero code: 1
ERROR: Build failed with exit code 2

Any suggestions as where I’m going wrong here? Things to try?

Thanks in advance!