Pre-installed TeX Live for Devcontainer.
You can create your own LaTeX document with one of the provided images.
Images can be found at ghcr.io/sambyeol/latex-devcontainer.
Make a devcontainer setting file at .devcontainer/devcontainer.json in your project.
{
"image": "ghcr.io/sambyeol/latex-devcontainer",
"runArgs": [ "--init" ],
"settings": {
"[latex][bibtex]": {
"editor.formatOnSave": true,
"editor.wordWrap": "on"
}
},
"extensions": [
"james-yu.latex-workshop"
],
}Then, reopen in container.
- Images are tagged with base images. For example,
ubuntuorubuntu-tags mean that image is created from Ubuntu image. - An image without
roottag comes with non-root usersambyeol.
All images are cross-compiled with Docker Buildx.
Some system libraries are needed.
$ sudo apt-get update
$ sudo apt-get install -y binfmt-support qemu qemu-user-staticYou need buildx to cross-compile images.
If you see the following output, see here to install buildx.
$ docker buildx version
docker: 'buildx' is not a docker command.
See 'docker --help'You can build images for linux/amd64 and linux/arm64 with following command.
$ docker buildx bake --pushNote that --push option will push to Docker Hub right after building images.