Skip to content

Commit

Permalink
update build instructuions, support podman
Browse files Browse the repository at this point in the history
  • Loading branch information
LeroyR committed Sep 30, 2024
1 parent 625871f commit 2ff3973
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ The RoboCup @Home Organizing Committee is always looking for volunteers to assis

Contributions and improvements to the rulebook are always welcome in the form of pull requests.

### Building

The easiest way is to utilize the `docker.io/texlive/texlive:TL2022-historic` image to build everything.

For convenience, you should execute `build.sh` to make the PDFs with a container runtime. (This requires either `docker` or `podman` to be installed)


### Recorded data
Data is recorded from the robots during the competition. It is available through the following links:

Expand Down
11 changes: 11 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

IMAGE=docker.io/texlive/texlive:TL2022-historic

if command -v podman >/dev/null 2>&1
then
podman run --rm --net=none -w /data/ -v`pwd`:/data -e TERM=xterm-256color $IMAGE make all
else
docker run --rm --user="$(id -u):$(id -g)" --net=none -w /data/ -v`pwd`:/data -e TERM=xterm-256color $IMAGE make all
fi

4 changes: 0 additions & 4 deletions latexdockercmd.sh

This file was deleted.

0 comments on commit 2ff3973

Please sign in to comment.