diff --git a/README.md b/README.md index bf3c4596..ef2fe55a 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..7eaf2b37 --- /dev/null +++ b/build.sh @@ -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 + diff --git a/latexdockercmd.sh b/latexdockercmd.sh deleted file mode 100755 index dd9228b7..00000000 --- a/latexdockercmd.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -IMAGE=texlive/texlive:TL2022-historic -docker run --rm --user="$(id -u):$(id -g)" --net=none -w /data/ -v`pwd`:/data -e TERM=xterm-256color $IMAGE make all