Skip to content

Commit 9ca421a

Browse files
committed
feat: texlive
1 parent 7159d58 commit 9ca421a

File tree

18 files changed

+40
-286
lines changed

18 files changed

+40
-286
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
features:
16-
- color
17-
- hello
16+
- texlive
1817
baseImage:
1918
- debian:latest
2019
- ubuntu:latest
@@ -34,8 +33,7 @@ jobs:
3433
strategy:
3534
matrix:
3635
features:
37-
- color
38-
- hello
36+
- texlive
3937
steps:
4038
- uses: actions/checkout@v3
4139

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Microsoft Corporation
3+
Copyright (c) 2023 Daniel Eder
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/color/README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/color/devcontainer-feature.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/color/install.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/hello/devcontainer-feature.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/hello/install.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

2-
# Hello, World! (hello)
2+
# Texlive
33

4-
A hello world feature
4+
Installs a texlive environment
55

66
## Example Usage
77

88
```json
99
"features": {
10-
"ghcr.io/devcontainers/feature-starter/hello:1": {
10+
"ghcr.io/daniel-eder/devcontainers-feature-texlive/texlive:1": {
1111
"version": "latest"
1212
}
1313
}
@@ -17,7 +17,6 @@ A hello world feature
1717

1818
| Options Id | Description | Type | Default Value |
1919
|-----|-----|-----|-----|
20-
| greeting | Select a pre-made greeting, or enter your own | string | hey |
2120

2221

2322

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "TexLive",
3+
"id": "texlive",
4+
"version": "1.0.0",
5+
"description": "A feature providing a texlive environment.",
6+
"options": {
7+
},
8+
"installsAfter": [
9+
"ghcr.io/devcontainers/features/common-utils"
10+
]
11+
}

src/texlive/install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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-full
10+
11+
# Clean up
12+
rm -rf /var/lib/apt/lists/*
13+
14+
echo "Done!"

0 commit comments

Comments
 (0)