https://github.com/nekonenene/mojo-docker
Docker Image for Mojo🔥
https://github.com/nekonenene/mojo-docker
docker mojo x86-64
Last synced: 5 months ago
JSON representation
Docker Image for Mojo🔥
- Host: GitHub
- URL: https://github.com/nekonenene/mojo-docker
- Owner: nekonenene
- Created: 2023-09-16T14:11:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-16T19:38:48.000Z (almost 3 years ago)
- Last Synced: 2024-12-30T06:15:25.021Z (over 1 year ago)
- Topics: docker, mojo, x86-64
- Language: Dockerfile
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mojo🔥 on Docker🐳
## Requirements
* [Docker](https://www.docker.com/products/docker-desktop/) (Recommend to set the memory to above 8GB)
* x86_64 CPU machine(Not ARM CPU)
## Build a docker image
1. Visit https://www.modular.com/mojo and sign up
2. Visit https://developer.modular.com/download and check `MODULAR_AUTH`
3. `cp default.env .env`
4. Write `MODULAR_AUTH` into `.env`
5. `make build` (Expected to take more than 5 minutes...)
## Run a container
```sh
make run
```
Then, you can run `mojo` 🔥
https://docs.modular.com/mojo/manual/get-started/hello-world.html#run-code-in-the-repl