Skip to content
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

Open
hgezim opened this issue Jan 6, 2024 · 2 comments
Open

Add arm support for josh-proxy #1305

hgezim opened this issue Jan 6, 2024 · 2 comments

Comments

@hgezim
Copy link

hgezim commented Jan 6, 2024

It would be nice to run it on a Mac M1/M2 without using emulation.

@christian-schilling
Copy link
Member

christian-schilling commented Feb 28, 2024

Hi @hgezim,
I am developing and running josh-proxy on M1 and M2 without emulation regularly without issues, so I'm wondering what exactly you are reporting here 🤔
Are you asking for an ARM docker image? True we don't have that, but it can easily be built.

@bklebe
Copy link

bklebe commented Jun 10, 2024

True we don't have that, but it can easily be built.

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:

ERROR: failed to solve: git: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

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:

Unable to find image 'joshproject/josh-proxy:latest' locally
latest: Pulling from joshproject/josh-proxy
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.

Any help would be appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants