Skip to content

Commit

Permalink
Update docker/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: MCJ Vasseur <[email protected]>
  • Loading branch information
as6325400 and vmcj authored Oct 20, 2024
1 parent 6d76611 commit 2663ee1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ where `version` is the DOMjudge version to create the images for, e.g. `5.3.0`.

To build domjudge with local sources, run
```bash
dpkp=<path to domjudge-packaging>
dj=<domjudge source directory>
tar --exclude-vcs -czf $dpkp/docker/domjudge.tar.gz -C $(dirname "$dj") $(basename "$dj")
cd $dpkp/docker
dj_packaging_dir=<path to domjudge-packaging>
dj_source_dir =<domjudge source directory>
tar --exclude-vcs -czf "${dj_packaging_dir}/docker/domjudge.tar.gz" -C $(dirname "$dj_source_dir") $(basename "$dj_source_dir")
cd ${dj_packaging_dir}/docker"
docker build -t domjudge -f domserver/Dockerfile .
```
Note that the source directory name has to match `domjudge-*`.
Expand Down

0 comments on commit 2663ee1

Please sign in to comment.