Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions templates/src/texlive-alpine/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ RUN apk update \
WORKDIR /

ARG ltex_version=
ADD https://github.com/valentjn/ltex-ls/releases/download/${ltex_version}/ltex-ls-${ltex_version}.tar.gz /ltex-ls-${ltex_version}.tar.gz
RUN tar -xzf /ltex-ls-${ltex_version}.tar.gz \
&& rm ltex-ls-${ltex_version}.tar.gz
ADD https://github.com/valentjn/ltex-ls/releases/download/${ltex_version}/ltex-ls-${ltex_version}.tar.gz /ltex-ls.tar.gz
RUN tar -xzf /ltex-ls.tar.gz \
&& rm ltex-ls.tar.gz

ENV latexindent_settings_file="mysettings.yaml"
ENV texlive_bin="/opt/texlive/texdir/bin"
Expand All @@ -21,6 +21,9 @@ COPY common/mysettings.yaml "${texlive_bin}/config/${latexindent_settings_file}"
RUN echo -e "paths: \n\
- ${texlive_bin}/config/${latexindent_settings_file}" >> "${LATEXINDENT_CONFIG}"

RUN tlmgr install latexindent \
&& tlmgr install latexmk

COPY common/packages /tmp/packages

RUN cat /tmp/packages | xargs tlmgr install && rm /tmp/packages
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"latex-workshop.latex.bibDirs": [
"/workspaces/"
],
"ltex.ltex-ls.path": "/ltex-ls-15.2.0",
"ltex.ltex-ls.path": "/ltex-ls",
"ltex.java.path": "/usr/",
"ltex.additionalRules.languageModel": "en",
"ltex.completionEnabled": true,
Expand Down
2 changes: 1 addition & 1 deletion templates/src/texlive-alpine/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "texlive-alpine",
"version": "0.1.0",
"version": "0.2.0",
"name": "Alpine TexLive",
"description": "A template for TexLive with Alpine linux",
"documentationURL": "https://github.com/BusHero/devcontainers/tree/main/templates/src/texlive-alpine",
Expand Down
Loading