File tree Expand file tree Collapse file tree 7 files changed +126
-0
lines changed
src/texlive-latex-recommended
test/texlive-latex-recommended Expand file tree Collapse file tree 7 files changed +126
-0
lines changed Original file line number Diff line number Diff line change 1515 features :
1616 - texlive
1717 - texlive-base
18+ - texlive-latex-recommended
1819 baseImage :
1920 - debian:latest
2021 - ubuntu:latest
3637 features :
3738 - texlive
3839 - texlive-base
40+ - texlive-latex-recommended
3941 steps :
4042 - uses : actions/checkout@v3
4143
Original file line number Diff line number Diff line change 1+
2+ # TexLive Base (texlive-base)
3+
4+ A feature providing a minimal texlive environment.
5+
6+ ## Example Usage
7+
8+ ``` json
9+ "features" : {
10+ "ghcr.io/daniel-eder/devcontainers-feature-texlive/texlive-base:1" : {}
11+ }
12+ ```
13+
14+ ## Options
15+
16+ | Options Id | Description | Type | Default Value |
17+ | -----| -----| -----| -----|
18+
19+
20+
21+
22+ ---
23+
24+ _ Note: This file was auto-generated from the [ devcontainer-feature.json] ( https://github.com/daniel-eder/devcontainers-feature-texlive/blob/main/src/texlive-base/devcontainer-feature.json ) . Add additional notes to a ` NOTES.md ` ._
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " TexLive Latex Recommended" ,
3+ "id" : " texlive-latex-recommended" ,
4+ "version" : " 1.0.0" ,
5+ "description" : " A feature providing the recommended latex texlive environment." ,
6+ "options" : {
7+ },
8+ "installsAfter" : [
9+ " ghcr.io/devcontainers/features/common-utils"
10+ ]
11+ }
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+
4+ # Clean up
5+ rm -rf /var/lib/apt/lists/*
6+
7+ # Install
8+ apt-get -y update
9+ apt-get -y install texlive-latex-recommended
10+
11+ # Clean up
12+ rm -rf /var/lib/apt/lists/*
13+
14+ echo " Done!"
Original file line number Diff line number Diff line change 1+ {
2+ "texlive-latex-recommended" : {
3+ "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
4+ "features" : {
5+ "texlive-latex-recommended" : {
6+ }
7+ }
8+ }
9+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # This test file will be executed against an auto-generated devcontainer.json that
4+ # includes the 'hello' Feature with no options.
5+ #
6+ # For more information, see: https://github.com/devcontainers/cli/blob/main/docs/features/test.md
7+ #
8+ # Eg:
9+ # {
10+ # "image": "<..some-base-image...>",
11+ # "features": {
12+ # "hello": {}
13+ # },
14+ # "remoteUser": "root"
15+ # }
16+ #
17+ # Thus, the value of all options will fall back to the default value in
18+ # the Feature's 'devcontainer-feature.json'.
19+ # For the 'hello' feature, that means the default favorite greeting is 'hey'.
20+ #
21+ # These scripts are run as 'root' by default. Although that can be changed
22+ # with the '--remote-user' flag.
23+ #
24+ # This test can be run with the following command:
25+ #
26+ # devcontainer features test \
27+ # --features hello \
28+ # --remote-user root \
29+ # --skip-scenarios \
30+ # --base-image mcr.microsoft.com/devcontainers/base:ubuntu \
31+ # /path/to/this/repo
32+
33+ set -e
34+
35+ # This test file will be executed against one of the scenarios devcontainer.json test that
36+ set -e
37+
38+ # Optional: Import test library bundled with the devcontainer CLI
39+ # See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib
40+ # Provides the 'check' and 'reportResults' commands.
41+ source dev-container-features-test-lib
42+
43+ # Feature-specific tests
44+ # The 'check' command comes from the dev-container-features-test-lib.
45+ check " execute command" bash -c " latex small2e"
46+
47+ # Report results
48+ # If any of the checks above exited with a non-zero exit code, the test will fail.
49+ reportResults
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # This test file will be executed against one of the scenarios devcontainer.json test that
4+ set -e
5+
6+ # Optional: Import test library bundled with the devcontainer CLI
7+ # See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib
8+ # Provides the 'check' and 'reportResults' commands.
9+ source dev-container-features-test-lib
10+
11+ # Feature-specific tests
12+ # The 'check' command comes from the dev-container-features-test-lib.
13+ check " execute command" bash -c " latex small2e"
14+
15+ # Report results
16+ # If any of the checks above exited with a non-zero exit code, the test will fail.
17+ reportResults
You can’t perform that action at this time.
0 commit comments