Docker container for Racket for architectures other than x86

I'd like to use Racket in a Docker container, but I have an M1 machine, and the Rosetta emulation is having trouble running x86 images. I note that whenever I download Racket (e.g. via docker run -it racket/racket:latest) I do get Racket, but sporadically after some time I start getting strange crashes. I think this is due to the fact that the Racket container is an x86 image and Rosetta isn't doing the best job of emulating x86's memory model.

Are there Docker images for aarch64? If not, is there a way we could add that to the pipeline?

1 Like

I haven't tried this, but something to consider is that Alpine has a package for Racket. So you could start with an Alpine image and install Racket inside of that.

1 Like