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

Allow for Apple silicon uses #29

Open
jasonhemann opened this issue Aug 12, 2024 · 2 comments
Open

Allow for Apple silicon uses #29

jasonhemann opened this issue Aug 12, 2024 · 2 comments

Comments

@jasonhemann
Copy link
Collaborator

It's not right now very easy to build w/this Makefile for Apple silicon. You need to pass a --platform linux/amd64 flag, both to build the images and to use them to test locally.

Right way to support this that

  • doesn't demand a configuration step
  • doesn't demand another flag every time you want to use it
  • supports everyone
@SHoltzen
Copy link

Hey Jason, I had luck getting the image to build on my Mac with the following:

  • I updated the base image to Ubuntu 22.04 (FROM gradescope/autograder-base:ubuntu-22.04)
  • I added the following line to my bash profile: export DOCKER_DEFAULT_PLATFORM=linux/amd64

@jasonhemann
Copy link
Collaborator Author

Howdy! Thanks!

@SHoltzen #28 ?

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

2 participants