From 3f9ac5f275f7f48c998a278575738c77955d88f7 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Wed, 7 Oct 2020 18:55:52 -0400 Subject: [PATCH] chore: add dev-container readme --- src/dev-container/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/dev-container/README.md diff --git a/src/dev-container/README.md b/src/dev-container/README.md new file mode 100644 index 0000000..3d30828 --- /dev/null +++ b/src/dev-container/README.md @@ -0,0 +1,24 @@ +# Dev Container + +This package houses the dev-container image. + +It includes: + +- go (1.15.2) +- bazel (latest via bazelisk) +- node (latest lts via nvm) + +As well as any other tooling within VSCode Dev Containers. + +## Building + +To build and use locally, + +```sh +bazel run //srv/dev-container && docker run -it --rm bazel/src/dev-container:dev-container +``` + +To just use, this is published to two registries. There is no effective difference, except that GitHub's registry requires login, and Docker Hub does not. + +- `docker pull roleypoly/dev-container:main` +- `docker pull docker.pkg.github.com/roleypoly/roleypoly/dev-container:main`