Docker container images of overleaf selfhosted community version with full-scheme TexLive
The image is available for the following Archs
- Amd64
- Arm64
- arm/v7 (for raspberry pi geeks)
Ideally, you would use the Overleaf Toolkit as described here with a docker-compose.override.yaml. Example:
services:
sharelatex:
image: melashri/overleaf
Alternatively, use the docker-compose.yaml provided in the official GitHub, but change the image to melashri/overleaf
.
To build and use your own image you can do the following:
- Clone the repository 'git clone https://github.com/MohamedElashri/Overleaf-full
- Build the container
docker build -t overleaf .
- Optionally, you can just build the container directly from GitHub with the following command:
docker build https://github.com/MohamedElashri/Overleaf-full.git -t overleaf:latest
But to run the container providing the path to the LaTeX project directory to generate the output files
- Clone the repository 'git clone https://github.com/MohamedElashri/Overleaf-full`
cd
into the repository- Build the container
docker build -t overleaf .
- Optionally, you can just build the container directly from GitHub with the following command:
docker build https://github.com/MohamedElashri/Overleaf-full.git -t overleaf:latest
- Wait for the image to be built. It may take a while as all CTAN packages are downloaded and installed.
- Run the container with:
docker run --rm -i --net=none -v /path/to/project:/data --name latex-full-builder overleaf latexmk -cd -f -interaction=batchmode -pdf in.tex
- The output files will be found in the project directory.
Available under the MIT license.