Skip to content

Commit

Permalink
Point to packaged Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Jul 30, 2021
1 parent ce4c2f6 commit fdbfaa5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ The following instructions use `top/` as an alias for the top level of this repo
### Environment Setup with Docker:

1. Install [Docker][].
2. `cd top/docker && docker build -t gem5-mesh .`
3. `./enter_docker.sh` (from inside `top/docker`)
2. `cd top/docker && ./enter_docker.sh` (This step will automatically fetch the Docker image from [GitHub packages][ghcr].)

That's all you need to get started. In the unlikely event you want to rebuild the Docker container from scratch, type this in the `top/docker` directory:

docker build -t ghcr.io/cucapra/gem5-mesh:latest .

### Environment Setup, Natively (Docker-Free):

Expand Down Expand Up @@ -97,3 +100,4 @@ Code for the architecture relies on a custom compiler pass found in `top/trilliu
[gem5]: https://gem5.googlesource.com
[PolyBench/GPU]: https://web.cse.ohio-state.edu/~pouchet.2/software/polybench/GPU/index.html
[docker]: https://www.docker.com
[ghcr]: https://github.com/features/packages
2 changes: 1 addition & 1 deletion docker/enter_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
docker run \
-v $PWD/../:/workspace/gem5-mesh \
-w /workspace/gem5-mesh \
-it gem5-mesh
-it ghcr.io/cucapra/gem5-mesh:latest

0 comments on commit fdbfaa5

Please sign in to comment.