build: 🔨 Devcontainer updated.

Updated devcontainer with texlive options. Improve build. Aux files cleaned after build.
This commit is contained in:
Слободан Јелић 2025-10-10 10:30:38 +00:00
parent 9a43e4675c
commit c670e7fa16
6 changed files with 223 additions and 114 deletions

View File

@ -10,10 +10,15 @@
"ms-vscode.cpptools",
"ms-vscode.makefile-tools",
"george-alisson.html-preview-vscode",
"ms-vscode.cpptools-extension-pack"
"ms-vscode.cpptools-extension-pack",
"github.copilot",
"james-yu.latex-workshop",
"GitHub.copilot",
"nickfode.latex-formatter",
"vivaxy.vscode-conventional-commits",
"mhutchie.git-graph"
]
}
},
"shutdownAction": "stopCompose"
}
}

100
.vscode/settings.json vendored
View File

@ -10,5 +10,105 @@
"getopt.h": "c",
"string.h": "c",
"stdlib.h": "c"
},
"latex-workshop.docker.enabled": true,
"latex-workshop.latex.autoBuild.run": "onSave",
"latex-workshop.docker.image.latex": "texlive/texlive",
"latex-workshop.latex.clean.subfolder.enabled": true,
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.log",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.fls",
"*.fdb_latexmk",
"*.synctex.gz",
"*.run.xml",
"*.bcf"
],
"latex-workshop.latex.outDir": ".",
"latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.latex.recipes": [
{
"name": "latexmk (Docker)",
"tools": ["latexmk"]
}
],
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "docker",
"args": [
"run",
"--rm",
"--name",
"texlive",
"-v",
"D:/STEINGEN/docs:/workspace",
"-v",
"C:/Users/sjelic/texmf/bibtex/bib/Articles.bib:/workspace/Articles.bib",
"-w",
"/workspace",
"texlive/texlive",
"latexmk",
"-pdf",
"-synctex=1",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "docker",
"args": [
"run",
"--rm",
"--name",
"texlive",
"-v",
"D:/STEINGEN/docs:/workspace",
"-v",
"C:/Users/sjelic/texmf/bibtex/Articles.bib:/workspace/Articles.bib",
"-w",
"/workspace",
"texlive/texlive",
"pdflatex",
"-synctex=1",
"-interaction=nonstopmode",
"%DOC%"
]
},
{
"name": "biber",
"command": "docker",
"args": [
"run",
"--rm",
"--name",
"texlive",
"-v",
"D:/STEINGEN/docs:/workspace",
"-w",
"/workspace",
"texlive/texlive",
"biber",
"--input-directory",
"/workspace",
"--output-directory",
"/workspace",
"%DOC%"
]
}
]
}

View File

@ -10,9 +10,12 @@ services:
- steingen-volume:/steingen
- .:/steingen
- /var/run/docker.sock:/var/run/docker.sock
- C:/Users/sjelic/texmf/bibtex/bib/Articles.bib:/steingen/docs/Articles.bib
# environment:
# - NODE_ENV=development
user: root
command: sleep infinity
volumes:
steingen-volume:
networks:
host:

View File

@ -8,7 +8,8 @@ RUN apt-get update && apt-get install -y \
make \
doxygen \
valgrind \
&& apt-get clean
docker.io
RUN apt-get clean
RUN ulimit -s unlimited
# Set working directory within the container
WORKDIR /steingen