Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

MacOs M2 docker build #665

Open
shuplenkov opened this issue Mar 7, 2023 · 0 comments
Open

MacOs M2 docker build #665

shuplenkov opened this issue Mar 7, 2023 · 0 comments

Comments

@shuplenkov
Copy link

Cannot build docker image on mac with arm CPU.

To reproduce, just clone the repo and run docker-compose build --pull --no-cache .

You will get:

package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
/app/zulu.deb
------
failed to solve: executor failed running [/bin/sh -c apt-get --yes update &&   apt-get --yes install git wget java-common libasound2 libxi6 libxtst6 xdg-utils &&   wget -O /app/zulu.deb https://cdn.azul.com/zulu/bin/zulu17.34.19-ca-jdk17.0.3-linux_amd64.deb &&   yes | dpkg -i /app/zulu.deb &&   rm /app/zulu.deb &&   apt-get -f install]: exit code: 1```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant