Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.32 KB

ci docker

Dockerized LaTeX Environment

Dockerfile and instructions for a LaTeX builder container based on the latest stable Debian release.

Deployment instructions

To use it, just do:

$ docker run -it --rm anjos/latex

Building instructions

GitHub 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 for arm64/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 multibuilder and then docker buildx inspect --bootstrap. After that, you are clear to run the multi-architecture build command above.