Dockerfile and instructions for a LaTeX builder container based on the latest stable Debian release.
To use it, just do:
$ docker run -it --rm anjos/latexGitHub Actions are setup to build and deploy multi-architecture containers for this Dockerfile.
To build a readily deployable docker image on the current platform, do:
$ docker build --rm -t anjos/latex:latest .To build (and deploy) a multi-platform version (Intel and ARM) of the docker image, do:
$ docker buildx build --push --platform linux/arm64,linux/amd64 --rm -t anjos/latex:latest .N.B.:
arm64(alias forarm64/v8) is compatible with Mac M1 chips which use the ARMv8.4-A instruction set.
N.B.2: To setup Docker to support multi-platform builds the first time, you must create your own builder with
docker buildx create --name multibuilder,docker buildx use multibuilderand thendocker buildx inspect --bootstrap. After that, you are clear to run the multi-architecture build command above.