Skip to content

Commit

Permalink
Update 05-building-docker-image.md
Browse files Browse the repository at this point in the history
Updates generator Dockefile links, closes #7
  • Loading branch information
katilp authored Jan 22, 2025
1 parent b12c7a3 commit 3c0fc85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions episodes/05-building-docker-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,11 @@ Check if you can make sense of more complex Dockerfiles bases on what you learnt

### Explore Dockerfiles

Explore the various [hepforge](https://rivet.hepforge.org/) Dockerfiles. You can find them under the MC generator specific directories in the [Rivet source code repository](https://gitlab.com/hepcedar/rivet/-/tree/release-4-0-x/docker?ref_type=heads).
Explore the various [hepforge](https://rivet.hepforge.org/) Dockerfiles. You can find them under the MC generator-specific directories in the [HEPStore code repository](https://gitlab.com/hepcedar/hepstore/-/tree/main).

:::::::::::::::: solution

You can start from the [rivet-pythia image Dockerfile](https://gitlab.com/hepcedar/rivet/-/blob/release-4-0-x/docker/rivet-pythia/Dockerfile?ref_type=heads).
You can start from the [rivet-pythia image Dockerfile](https://gitlab.com/hepcedar/hepstore/-/blob/main/rivet-pythia/Dockerfile).

Find the familiar instructions `FROM`, `RUN`, `COPY`and `WORKDIR`.

Expand All @@ -379,15 +379,15 @@ Observe how the image is built `FROM` an existing image
FROM hepstore/rivet:${RIVET_VERSION}
```

Find the Dockerfile for that base image: [rivet Dockerfile](https://gitlab.com/hepcedar/rivet/-/blob/release-4-0-x/docker/rivet/Dockerfile?ref_type=heads).
Find the Dockerfile for that base image: [rivet Dockerfile](https://gitlab.com/hepcedar/hepstore/-/blob/main/rivet/Dockerfile).

See how it is built `FROM` another base image

```
FROM hepstore/hepbase-${ARCH}-latex
```

and explore a [hepbase Dockerfile](https://gitlab.com/hepcedar/rivet/-/blob/release-4-0-x/docker/hepbase/Dockerfile.ubuntu?ref_type=heads).
and explore a [hepbase Dockerfile](https://gitlab.com/hepcedar/hepstore/-/blob/main/hepbase-latex/Dockerfile.ubuntu).



Expand Down

0 comments on commit 3c0fc85

Please sign in to comment.