revanced-builder
revanced-builder copied to clipboard
MacOs M2 docker build
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```