Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hason committed Mar 25, 2024
1 parent f77ea8a commit db1446f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM minidocks/perl AS minimal
LABEL maintainer="Martin Hasoň <martin.hason@gmail.com>"

ARG version=2023
ARG version=2024
ARG TARGETARCH

RUN export bindir="$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "x86_64")" \
Expand All @@ -13,7 +13,7 @@ COPY rootfs /

RUN apk add xz && wget -O /tmp/install-tl-unx.tar.gz "https://pi.kwarc.info/historic/systems/texlive/${version}/install-tl-unx.tar.gz" \
&& tar -xvzf /tmp/install-tl-unx.tar.gz -C /tmp \
&& if [ "$version" = 2023 ]; then repository="https://mirrors.nic.cz/tex-archive/systems/texlive/tlnet/"; else repository="https://pi.kwarc.info/historic/systems/texlive/$version/tlnet-final"; fi \
&& if [ "$version" = 2024 ]; then repository="https://mirrors.nic.cz/tex-archive/systems/texlive/tlnet/"; else repository="https://pi.kwarc.info/historic/systems/texlive/$version/tlnet-final"; fi \
&& /tmp/*/install-tl --repository="$repository" --profile=/etc/texlive.profile --scheme=minimal && clean

FROM minimal AS basic
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ Tags
| context | ![](https://img.shields.io/docker/image-size/minidocks/texlive/context?style=flat-square&logo=docker&label=size) |
| medium | ![](https://img.shields.io/docker/image-size/minidocks/texlive/medium?style=flat-square&logo=docker&label=size) |
| full | ![](https://img.shields.io/docker/image-size/minidocks/texlive/full?style=flat-square&logo=docker&label=size) |
| 2024 | ![](https://img.shields.io/docker/image-size/minidocks/texlive/2024?style=flat-square&logo=docker&label=size) |
| 2023 | ![](https://img.shields.io/docker/image-size/minidocks/texlive/2023?style=flat-square&logo=docker&label=size) |
| 2022 | ![](https://img.shields.io/docker/image-size/minidocks/texlive/2022?style=flat-square&logo=docker&label=size) |
| 2021 | ![](https://img.shields.io/docker/image-size/minidocks/texlive/2021?style=flat-square&logo=docker&label=size) |
| 2020 | ![](https://img.shields.io/docker/image-size/minidocks/texlive/2020?style=flat-square&logo=docker&label=size) |

Related images
--------------
Expand Down
36 changes: 18 additions & 18 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@ set -e

image="${namespace:-minidocks}/texlive"
versions="
2020;2020;basic
2020-minimal;2020;minimal
2020-context;2020;context
2020-basic;2020;basic
2020-small;2020;small
2020-gregorio;2020;gregorio
2020-medium;2020;medium
2020-full;2020;full
2021;2021;basic
2021-minimal;2021;minimal
2021-context;2021;context
Expand Down Expand Up @@ -39,15 +30,24 @@ versions="
2023-medium;2023;medium
2023-full;2023;full
minimal;2023;minimal
context;2023;context
basic;2023;basic
small;2023;small
gregorio;2023;gregorio
medium;2023;medium
full;2023;full
latest;2023;basic;
2024;2024;basic
2024-minimal;2024;minimal
2024-context;2024;context
2024-basic;2024;basic
2024-small;2024;small
2024-gregorio;2024;gregorio
2024-medium;2024;medium
2024-full;2024;full
minimal;2024;minimal
context;2024;context
basic;2024;basic
small;2024;small
gregorio;2024;gregorio
medium;2024;medium
full;2024;full
latest;2024;basic;
"

build() {
Expand Down

0 comments on commit db1446f

Please sign in to comment.