Docker (if you are running Mango in a Docker container)
The docker-compose.yml file you are using, or your .env file.
Additional context
Trace of docker-compose up
Digest: sha256:05e1052172091dc6e1839c5d490d68774ad9259897140b1a148a35605e0f1216
Status: Downloaded newer image for crystallang/crystal:0.35.1-alpine
---> 6a09b54a6eb8
Step 2/9 : WORKDIR /Mango
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
---> Running in de63ab99930c
Removing intermediate container de63ab99930c
---> e009125ac248
Step 3/9 : COPY . .
---> a6d8e7694a04
Step 4/9 : RUN apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
---> Running in f0b6d0f8e15b
standard_init_linux.go:228: exec user process caused: exec format error
ERROR: Service 'mango' failed to build: The command '/bin/sh -c apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev' returned a non-zero code: 1
Describe the bug The docker image fails to build on arm7
To Reproduce Steps to reproduce the behavior:
docker-compose up
in a raspberry pi 4bExpected behavior Docker image would build correctly
Environment (please complete the following information):
Raspbian GNU/Linux 10 (buster)
,Linux 5.10.17-v7l+ #1421 SMP armv7l GNU/Linux
master
from githubDocker (if you are running Mango in a Docker container)
docker-compose.yml
file you are using, or your.env
file.Additional context Trace of
docker-compose up