Skip to content

Adding devcontainer feature to install texlive #34

@hspaans

Description

@hspaans

Is your feature request related to a problem? Please describe.
For hspaans/latex-template#58 a devcontainer feature is needed to install the texlive packages instead of using a Dockerfile or as part of a postCreateCommand

Describe the solution you'd like
Replace this Dockerfile

# [Choice] Debian version: buster, stretch
FROM mcr.microsoft.com/vscode/devcontainers/base:bookworm

# ** [Optional] Uncomment this section to install additional packages. **
# hadolint ignore=DL3008
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    && apt-get -y install --no-install-recommends texlive-full texlive-base rubber \
    && apt-get autoremove -y \
    && apt-get clean -y \
    && rm -rf /var/lib/apt/lists/*

Describe alternatives you've considered
Intermediate solution by using a postCreateCommand option

"postCreateCommand": "sudo apt update && sudo apt -y install --no-install-recommends texlive-full texlive-base rubber chktex"

Additional context
After this change the hspaans/latex-template repository could be merged into hspaans/devcontainer-templates

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions