Skip to content

docker build fails -  #147

Open
Open
@simonjcarr

Description

@simonjcarr

I am running a docker build in a GitLab CI pipeline, but the script fails as shown below.

The GitLab runner is running Ubuntu 18.04

$ docker build -t $CI_REGISTRY_IMAGE:latest .
Step 1/1 : FROM jshimko/meteor-launchpad:latest
latest: Pulling from jshimko/meteor-launchpad
068d4584d7e4: Pulling fs layer
d8b8b8c2f496: Pulling fs layer
4bf8776bd8a8: Pulling fs layer
c846fa7ac8bb: Pulling fs layer
9bd7f3071604: Pulling fs layer
c846fa7ac8bb: Waiting
9bd7f3071604: Waiting
4bf8776bd8a8: Verifying Checksum
4bf8776bd8a8: Download complete
d8b8b8c2f496: Verifying Checksum
d8b8b8c2f496: Download complete
c846fa7ac8bb: Download complete
9bd7f3071604: Verifying Checksum
9bd7f3071604: Download complete
068d4584d7e4: Verifying Checksum
068d4584d7e4: Download complete
068d4584d7e4: Pull complete
d8b8b8c2f496: Pull complete
4bf8776bd8a8: Pull complete
c846fa7ac8bb: Pull complete
9bd7f3071604: Pull complete
Digest: sha256:7f9c695c8fed91e9b68a7201f55d832945586ba71aa42fc606250cb2e79d0f49
Status: Downloaded newer image for jshimko/meteor-launchpad:latest
# Executing 17 build triggers
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 62570566a1f2
Removing intermediate container 62570566a1f2
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in a8193f4b2166
Removing intermediate container a8193f4b2166
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 55ef235cd7b1
Removing intermediate container 55ef235cd7b1
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 1c3b74f57acd
Removing intermediate container 1c3b74f57acd
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 265e177aed83
Removing intermediate container 265e177aed83
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in f911aa9f447b
Removing intermediate container f911aa9f447b
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in d8e4e39e5d93
Removing intermediate container d8e4e39e5d93
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 70748f065e27
Removing intermediate container 70748f065e27
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in af182f6e6c39
Removing intermediate container af182f6e6c39
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 32d3c0e83a55
Removing intermediate container 32d3c0e83a55
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 38926a1bed7f
Removing intermediate container 38926a1bed7f
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 0818720b35c0
Removing intermediate container 0818720b35c0
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 237b18dba7eb
Removing intermediate container 237b18dba7eb
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 64440e8db12b
Removing intermediate container 64440e8db12b
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in 21846c7f9a8f
standard_init_linux.go:228: exec user process caused: exec format error
The command '/bin/sh -c if [ "$APT_GET_INSTALL" ]; then apt-get update && apt-get install -y $APT_GET_INSTALL; fi' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions