Skip to content

Commit

Permalink
Updates devcontainer configuration
Browse files Browse the repository at this point in the history
- Adds '--fix-missing' command when installing LaTeX packages
- Adds Go feature for testing later on
  • Loading branch information
cr2007 committed May 29, 2024
1 parent e94a3a3 commit ab3b0c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive

# installing texlive and utils
RUN apt-get update && \
apt-get -y install --no-install-recommends pandoc texlive texlive-latex-extra texlive-extra-utils texlive-fonts-extra texlive-bibtex-extra biber latexmk make git procps locales curl zsh && \
apt-get -y install --no-install-recommends --fix-missing pandoc texlive texlive-latex-extra texlive-extra-utils texlive-fonts-extra texlive-bibtex-extra biber latexmk make git procps locales curl zsh && \
rm -rf /var/lib/apt/lists/*

# generating locales
Expand Down
7 changes: 3 additions & 4 deletions .github/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"name": "latex-env",
"dockerFile": "Dockerfile",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
}
},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/go:1": {}
}
// "mounts": [
// "source=${localEnv:HOME}${localEnv:USERPROFILE}/.gitconfig,target=~/.gitconfig,type=bind,consistency=cached"
// ]
Expand Down

0 comments on commit ab3b0c9

Please sign in to comment.