-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# texlive base image | ||
FROM maxkratz/texlive:2024 | ||
LABEL maintainer="Max Kratz <account@maxkratz.com>" | ||
|
||
# Config | ||
ARG GRADLE_VERSION=8.1.1 | ||
|
||
# Install OpenJDK 17 | ||
RUN apt-get update -q && \ | ||
apt-get install -yq \ | ||
openjdk-17-jre-headless | ||
|
||
# Install Gradle | ||
RUN wget -q -c https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip -P /tmp | ||
RUN unzip -d /opt/gradle /tmp/gradle-${GRADLE_VERSION}-bin.zip | ||
RUN rm -f /opt/gradle-${GRADLE_VERSION}-bin.zip | ||
ENV GRADLE_HOME /opt/gradle/gradle-${GRADLE_VERSION} | ||
ENV PATH /opt/gradle/gradle-${GRADLE_VERSION}/bin:$PATH | ||
|
||
# Remove apt lists (for storage efficiency) | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /data | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# texlive base image | ||
FROM maxkratz/texlive:2024 | ||
LABEL maintainer="Max Kratz <account@maxkratz.com>" | ||
|
||
# Install Python 3.x | ||
RUN apt-get update -q && \ | ||
apt-get install -yq \ | ||
python3 python3-pip | ||
|
||
# Remove apt lists (for storage efficiency) | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /data | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# texlive base image | ||
FROM maxkratz/texlive:base | ||
LABEL maintainer="Max Kratz <account@maxkratz.com>" | ||
|
||
# Install texlive | ||
COPY texlive.profile . | ||
RUN wget http://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet/install-tl-unx.tar.gz | ||
RUN tar xvzf install-tl-unx.tar.gz | ||
RUN ./install-tl-*/install-tl -profile texlive.profile | ||
|
||
# Add texlive to path | ||
ENV PATH="/usr/local/texlive/2024/bin/x86_64-linux:$PATH" | ||
ENV PATH="/usr/local/texlive/2024/bin/aarch64-linux:$PATH" | ||
ENV PATH="/usr/local/texlive/2024/bin/armhf-linux:$PATH" | ||
|
||
# Update tlmgr + tex-packages | ||
RUN tlmgr update --self --all --reinstall-forcibly-removed | ||
RUN luaotfload-tool -v -vvv -u | ||
|
||
WORKDIR /data | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
selected_scheme scheme-full | ||
TEXDIR /usr/local/texlive/2024 | ||
TEXMFCONFIG ~/.texlive2024/texmf-config | ||
TEXMFHOME ~/texmf | ||
TEXMFLOCAL /usr/local/texlive/texmf-local | ||
TEXMFSYSCONFIG /usr/local/texlive/2024/texmf-config | ||
TEXMFSYSVAR /usr/local/texlive/2024/texmf-var | ||
TEXMFVAR ~/.texlive2024/texmf-var | ||
option_doc 0 | ||
option_src 0 |