Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docker/Dockerfile.fedora
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM fedora:34

RUN dnf install -y \
curl \
git \
graphviz \
latexmk \
Expand Down Expand Up @@ -51,8 +52,13 @@ ENV TEXMFCACHE /tmp/texmf-cache

# Add Tini
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN case ${TARGETPLATFORM} in \
"linux/amd64") TINI_NAME="tini-amd64" ;; \
"linux/arm64") TINI_NAME="tini-arm64" ;; \
*) TINI_NAME="tini" ;; \
esac && \
curl -L -o /tini "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/${TINI_NAME}"; \
chmod +x /tini
ENTRYPOINT ["/tini", "--"]

USER runner
Expand Down
12 changes: 10 additions & 2 deletions docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM ubuntu:22.04

# run export LC_ALL="en_US.UTF-8" && dpkg-reconfigure locales
RUN export DEBIAN_FRONTEND=noninteractive; \
apt-get update; \
apt-get install -y \
curl\
git \
graphviz \
latexmk \
Expand All @@ -22,6 +24,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
ghostscript \
xindy


RUN set -e; \
apt-get install -y wget; \
for archive in source-code-pro/archive/2.030R-ro/1.050R-it.zip \
Expand All @@ -43,8 +46,13 @@ ENV TEXMFCACHE /tmp/texmf-cache

# Add Tini
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN case ${TARGETPLATFORM} in \
"linux/amd64") TINI_NAME="tini-amd64" ;; \
"linux/arm64") TINI_NAME="tini-arm64" ;; \
*) TINI_NAME="tini" ;; \
esac && \
curl -L -o /tini "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/${TINI_NAME}"; \
chmod +x /tini
ENTRYPOINT ["/tini", "--"]

USER runner
Expand Down