a minimal TeX build that is based on tex-fpc
256
The sources for this image along with a more detailed documentation can be found here.
To use the image, add the following function to your ~/.bashrc file and then restart your terminal.
function mytexfpc {
docker run \
-it --rm \
--mount "src=$PWD,target=$PWD,type=bind" \
--mount "src=/etc/passwd,target=/etc/passwd,type=bind" \
--user "${UID}" \
--group-add "$(id -g)" \
-w "$PWD" \
"helm/my-tex-fpc:latest" \
"$@"
}
Now navigate to the directory where your .tex files live, and use the below command.
mytexfpc tex.sh test.tex
This will generate your document as test.dvi.
Note that the container will have access to the work directory, so you can compile only documents that are in the work directory or a subdirectory of it.
For more flexibility, you can use mytexfpc sh to work in the environment interactively.
Content type
Image
Digest
sha256:6b6f0e7b3…
Size
6.3 MB
Last updated
almost 4 years ago
docker pull helm/my-tex-fpc