https://github.com/DudeCalledBro/docker-image-latex
LaTeX Docker Container
https://github.com/DudeCalledBro/docker-image-latex
docker docker-image latex
Last synced: 11 months ago
JSON representation
LaTeX Docker Container
- Host: GitHub
- URL: https://github.com/DudeCalledBro/docker-image-latex
- Owner: DudeCalledBro
- License: mit
- Created: 2024-11-24T11:50:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-26T07:29:08.000Z (about 1 year ago)
- Last Synced: 2025-04-26T08:29:00.115Z (about 1 year ago)
- Topics: docker, docker-image, latex
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/dudecalledbro/latex
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# LaTeX Docker
[](https://github.com/DudeCalledBro/docker-image-latex/actions/workflows/ci.yml)
This repository maintains the code for my LaTeX container image, which is designed to streamline the process of generating LaTeX documents. By utilizing this container image, users can easily integrate it into their CI/CD pipelines, enabling automated TeX build processes.
This setup not only enhances efficiency but also ensures consistency across different environments, making it easier to manage and compile LaTeX documents as part of a larger workflow. Whether for academic papers, reports, or presentations, this container image simplifies the complexities of document generation and allows for seamless collaboration among team members.
## Usage
The Docker image can be downloaded from the repository [dudecalledbro/latex](https://hub.docker.com/r/dudecalledbro/latex). To use this image, you can pull it from Docker Hub using the following command:
```bash
docker pull dudecalledbro/latex:latest
```
Once downloaded, you can use this image to compile LaTeX documents without needing to install LaTeX and its packages on your local system. This approach provides a consistent and isolated environment for LaTeX compilation across different machines. To compile a LaTeX document using this image, you can use a command similar to:
```bash
docker run --rm -v $(pwd):/data dudecalledbro/latex:latest lualatex your_document.tex
```
This command mounts your current directory to the `/data` directory in the container and runs the lualatex command on `your_document.tex`.
## Build
This image build is scheduled with GitHub Actions and will be pushed to DockerHub. The image will also be rebuilt, if the `main` branch is updated. If you need to build the image locally, ensure [Docker](https://docs.docker.com/engine/installation/) is installed and execute the following:
```bash
docker build -t docker-latex:latest .
```
## License
Copyright © 2024 Niclas Spreng
Licensed under the [MIT license](LICENSE).