Skip to content

Commit fa651c9

Browse files
committed
Update workflow
remove arm64 platform
1 parent de88c57 commit fa651c9

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

.github/workflows/docker-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
uses: docker/build-push-action@v2
6161
with:
6262
context: .
63-
platforms: linux/amd64, linux/arm64
63+
platforms: linux/amd64
6464
push: true
6565
tags: |
6666
user/app:latest

Dockerfile

+4-17
Original file line numberDiff line numberDiff line change
@@ -30,30 +30,17 @@ RUN mkdir /tmp/noto && \
3030

3131
# install texlive
3232
ENV PATH=/tmp/texlive/bin/x86_64-linux:$PATH
33-
COPY texlive.profile texlive.profile
33+
COPY texlive texlive
3434
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
3535
tar -xzf install-tl-unx.tar.gz && \
3636
rm install-tl-unx.tar.gz && \
3737
cd install-tl-* && \
38-
./install-tl --profile=../texlive.profile && \
39-
rm ../texlive.profile
38+
./install-tl --profile=../texlive/texlive.profile
4039

4140
# install texlive packages
42-
RUN tlmgr install xetex \
43-
texliveonfly \
44-
latexmk \
45-
collection-langeuropean \
46-
collection-fontsrecommended \
47-
luaotfload \
48-
fontspec \
49-
listings \
50-
titlesec \
51-
xecjk \
52-
ctex \
53-
xcolor
54-
41+
RUN tlmgr install $(cat ./texlive/texlive_packages.txt) && rm -r ./texlive
5542
RUN tlmgr update --self --all --no-auto-install
5643

5744
VOLUME ["/source"]
5845
WORKDIR /source
59-
CMD [ "bash" ]
46+
CMD [ "bash" ]
File renamed without changes.

texlive/texlive_packages.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
xetex
2+
texliveonfly
3+
latexmk
4+
collection-langeuropean
5+
collection-fontsrecommended
6+
luaotfload
7+
fontspec
8+
listings
9+
titlesec
10+
xecjk
11+
ctex
12+
xcolor

0 commit comments

Comments
 (0)