Skip to content

Failed to build cross-compilation image #2

Description

@mohamedsayed18

When I try to run the following command sudo bash bin/build_image.bash
it fails with the following output:

Sending build context to Docker daemon  33.22MB
Step 1/14 : ARG ROS_VERSION=melodic
Step 2/14 : ARG UBUNTU_VERSION=bionic
Step 3/14 : FROM arm32v7/ros:${ROS_VERSION}-ros-base-${UBUNTU_VERSION}
 ---> 21394d3b4c78
Step 4/14 : ENV PATH="/root/.local/bin:${PATH}"
 ---> Using cache
 ---> 76de1ba74d6a
Step 5/14 : COPY qemu-arm-static /usr/bin
 ---> Using cache
 ---> 15c76c0990a9
Step 6/14 : RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
 ---> [Warning] The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/amd64) and no specific platform was requested
 ---> Running in d10862ac10dd
standard_init_linux.go:228: exec user process caused: exec format error
The command '/bin/sh -c echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections' 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