Skip to content

Commit

Permalink
Merge pull request #42 from maxkratz/feature/set-ctan-mirror-in-2024
Browse files Browse the repository at this point in the history
Switches 2024 CTAN repo to upstream
  • Loading branch information
maxkratz authored Jul 15, 2024
2 parents 3a9d4d4 + d541a14 commit 1edb48d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# Use a self-hosted runner to circumvent 6h timeout
runs-on: [self-hosted]
needs: [build-and-push-base]
timeout-minutes: 1440
timeout-minutes: 4320
strategy:
matrix:
year: [2017, 2018, 2019, 2020, 2021, 2022, 2023]
Expand All @@ -57,14 +57,14 @@ jobs:
push: true
tags: maxkratz/texlive:${{ matrix.year }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
timeout-minutes: 1440
timeout-minutes: 4320

# latest is an extra build step because of buggy GitHub Actions if conditions
build-and-push-latest-image:
# Use a self-hosted runner to circumvent the small storage size of GitHub-hosted runners
runs-on: [self-hosted]
needs: [build-and-push-base]
timeout-minutes: 1440
timeout-minutes: 4320
strategy:
matrix:
year: [2024]
Expand All @@ -89,7 +89,7 @@ jobs:
maxkratz/texlive:${{ matrix.year }}
maxkratz/texlive:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7
timeout-minutes: 1440
timeout-minutes: 4320

build-and-push-image-variants:
# Use a self-hosted runner to circumvent the small storage size of GitHub-hosted runners
Expand Down Expand Up @@ -146,4 +146,4 @@ jobs:
push: true
tags: maxkratz/texlive:${{ matrix.year }}
platforms: linux/amd64,linux/arm/v7
timeout-minutes: 1440
timeout-minutes: 4320
10 changes: 5 additions & 5 deletions .github/workflows/build-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Use a self-hosted runner to circumvent 6h timeout
runs-on: [self-hosted]
needs: [build-base]
timeout-minutes: 1440
timeout-minutes: 4320
strategy:
matrix:
year: [2017, 2018, 2019, 2020, 2021, 2022, 2023]
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
# Use a self-hosted runner to circumvent 6h timeout
runs-on: [self-hosted]
needs: [build-base]
timeout-minutes: 1440
timeout-minutes: 4320
strategy:
matrix:
year: [2024]
Expand All @@ -96,14 +96,14 @@ jobs:
maxkratz/texlive:${{ matrix.year }}
maxkratz/texlive:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7
timeout-minutes: 1440
timeout-minutes: 4320

# 2016 can not be built with arm64 support
build-2016-image:
# Use a self-hosted runner to circumvent 6h timeout
runs-on: [self-hosted]
needs: [build-base]
timeout-minutes: 1440
timeout-minutes: 4320
strategy:
matrix:
year: [2016]
Expand All @@ -121,4 +121,4 @@ jobs:
push: false
tags: maxkratz/texlive:${{ matrix.year }}
platforms: linux/amd64,linux/arm/v7
timeout-minutes: 1440
timeout-minutes: 4320
6 changes: 3 additions & 3 deletions 2024/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ LABEL maintainer="Max Kratz <[email protected]>"

# Install texlive
COPY texlive.profile .
RUN wget http://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet/install-tl-unx.tar.gz
RUN wget http://dante.ctan.org/tex-archive/systems/texlive/tlnet/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://dante.ctan.org/tex-archive/systems/texlive/tlnet --no-verify-downloads

# 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 tlmgr update --self --all --reinstall-forcibly-removed --verify-repo=none
RUN luaotfload-tool -v -vvv -u

WORKDIR /data
Expand Down

0 comments on commit 1edb48d

Please sign in to comment.