Skip to content

Commit

Permalink
Adds texlive version 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkratz committed Mar 16, 2024
1 parent a451944 commit 6f2d30b
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
needs: [build-and-push-base]
strategy:
matrix:
year: [2017, 2018, 2019, 2020, 2021, 2022]
year: [2017, 2018, 2019, 2020, 2021, 2022, 2023]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -62,7 +62,7 @@ jobs:
needs: [build-and-push-base]
strategy:
matrix:
year: [2023]
year: [2024]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
needs: [build-and-push-image, build-and-push-latest-image]
strategy:
matrix:
year: [2022-gradle, 2023-gradle, 2023-python]
year: [2022-gradle, 2023-gradle, 2023-python, 2024-gradle, 2024-python]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
needs: [build-base]
strategy:
matrix:
year: [2017, 2018, 2019, 2020, 2021, 2022]
year: [2017, 2018, 2019, 2020, 2021, 2022, 2023]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -51,7 +51,7 @@ jobs:
needs: [build-image]
strategy:
matrix:
year: [2022-gradle, 2023-gradle, 2023-python]
year: [2022-gradle, 2023-gradle, 2023-python, 2024-gradle, 2024-python]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -73,7 +73,7 @@ jobs:
needs: [build-base]
strategy:
matrix:
year: [2023]
year: [2024]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions 2023/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ 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 wget http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2023/install-tl-unx.tar.gz
RUN tar xvzf install-tl-unx.tar.gz
RUN ./install-tl-*/install-tl -profile texlive.profile
RUN ./install-tl-*/install-tl -profile texlive.profile -repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2023/tlnet-final/ --no-verify-downloads

# Add texlive to path
ENV PATH="/usr/local/texlive/2023/bin/x86_64-linux:$PATH"
Expand Down
24 changes: 24 additions & 0 deletions 2024-gradle/Dockerfile
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"]
14 changes: 14 additions & 0 deletions 2024-python/Dockerfile
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"]
21 changes: 21 additions & 0 deletions 2024/Dockerfile
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"]
10 changes: 10 additions & 0 deletions 2024/texlive.profile
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

0 comments on commit 6f2d30b

Please sign in to comment.