-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add arm support for josh-proxy #1305
Comments
Hi @hgezim, |
Hi, I'm struggling to build it on M1. Do you have advice on what commands to use? Here's what I've tried: docker build github.com/josh-project/josh Which results in the error:
I've also tried the command from Getting Started (https://josh-project.github.io/josh/guide/gettingstarted.html): docker run \
--name josh-proxy \
--detach \
--publish 8000:8000 \
--env JOSH_REMOTE=https://github.com \
--volume josh-vol:/data/git \
joshproject/josh-proxy:latest >/dev/null Which results in:
Any help would be appreciated :) |
I also ran into this issue. After looking into the GitHub actions config I figured out that you have to specify two additional git contexts docker build --platform=linux/arm64 --build-arg ARCH=aarch64 --build-context git=$(realpath .) --build-context docker=$(realpath docker) -t localhost/josh/josh-proxy:latest-arm64 . |
It would be nice to run it on a Mac M1/M2 without using emulation.
The text was updated successfully, but these errors were encountered: