From fdbfaa579122834ec854c916ad3f961e7d79e669 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Fri, 30 Jul 2021 15:23:23 -0700 Subject: [PATCH] Point to packaged Docker image --- README.md | 8 ++++++-- docker/enter_docker.sh | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e047ba2ea..f9487e0b6 100644 --- a/README.md +++ b/README.md @@ -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): @@ -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 diff --git a/docker/enter_docker.sh b/docker/enter_docker.sh index 710ebb46b..f7b305eba 100755 --- a/docker/enter_docker.sh +++ b/docker/enter_docker.sh @@ -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