From 2e0e1a6080083926e756eea95ae0776a93d5fffc Mon Sep 17 00:00:00 2001 From: 3846masa <3846masahiro+git@gmail.com> Date: Thu, 14 Sep 2023 07:02:07 +0900 Subject: [PATCH] DO NOT MERGE --- .github/workflows/build-pr.yml | 62 +++++++++++++++++----------------- alpine/Dockerfile | 2 ++ 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index eedc3d7..ceaa30e 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -25,34 +25,34 @@ jobs: with: name: alpine path: ./tests/main.pdf - build-debian: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - - name: Build Docker image - uses: ./.github/actions/build/ - with: - context: ./debian/ - load: true - tags: | - paperist/texlive-ja:debian - - name: Test - run: | - docker run --rm -v ${PWD}/tests:/workdir paperist/texlive-ja:debian \ - sh -c 'latexmk -C main.tex && latexmk main.tex && latexmk -c main.tex'; - - name: Upload result - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - with: - name: debian - path: ./tests/main.pdf - build-debian-arm64: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - - name: Build Docker image - uses: ./.github/actions/build/ - with: - context: ./debian/ - platforms: linux/arm64 + # build-debian: + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + # - name: Build Docker image + # uses: ./.github/actions/build/ + # with: + # context: ./debian/ + # load: true + # tags: | + # paperist/texlive-ja:debian + # - name: Test + # run: | + # docker run --rm -v ${PWD}/tests:/workdir paperist/texlive-ja:debian \ + # sh -c 'latexmk -C main.tex && latexmk main.tex && latexmk -c main.tex'; + # - name: Upload result + # uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + # with: + # name: debian + # path: ./tests/main.pdf + # build-debian-arm64: + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + # - name: Build Docker image + # uses: ./.github/actions/build/ + # with: + # context: ./debian/ + # platforms: linux/arm64 diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 47937c8..a8c5900 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -8,6 +8,8 @@ RUN apk add --no-cache \ xz \ fontconfig COPY ./texlive.profile ./ +RUN cat /etc/resolv.conf +RUN echo "nameserver 1.1.1.1" >> /etc/resolv.conf RUN wget -nv https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz RUN tar -xzf ./install-tl-unx.tar.gz --strip-components=1 RUN ./install-tl --profile=texlive.profile