Skip to content

Commit

Permalink
Add jq, and update outdated documentation (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Nov 8, 2023
1 parent 6645c17 commit 513a3e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ This tutorial covers basic to advanced usage, packaging, developer features, and

## Updating the tutorial container

The Spack tutorial container is built from another [repository](https://github.com/spack/spack-tutorial-container) by an automated process. For instructions on how to create an updated version of the tutorial container, see these [instructions](https://github.com/spack/spack-tutorial-container/blob/master/UPDATING.md). For a general description of the automated process used to build the tutorial container, read the [description](https://github.com/spack/spack-tutorial-container/blob/master/DESCRIPTION.md).
The Spack tutorial container is automatically built from [repository](docker/Dockerfile) by [this GitHub action](.github/workflows/containers.yaml). The latest version is available at

```
ghcr.io/spack/tutorial:latest
```

and is rebuilt on a schedule. It can also be [triggered manually](https://github.com/spack/spack-tutorial/actions).

The tutorial image builds on top of the container image that runs in Spack CI, which is built in a different repository at [spack/gitlab-runners](https://github.com/spack/gitlab-runners/)

## Automatically generating command ouputs

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ COPY /concretizer.yaml /etc/spack/concretizer.yaml

RUN DEBIAN_FRONTEND=noninteractive apt-get remove -y gcc-12 && \
apt-get update -y && \
apt-get install -y --no-install-recommends emacs bash-completion less && \
apt-get install -y --no-install-recommends emacs bash-completion less jq && \
apt-get -y autoremove --purge && \
apt-get clean

Expand Down

0 comments on commit 513a3e6

Please sign in to comment.