-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
28 lines (22 loc) · 943 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM fedora:38
LABEL name="textidote-action"
LABEL summary="TeXtidote LaTeX linter, spell- and grammar checker"
LABEL description="Part of GitHub Action textidote-action, used to lint, spell- and grammar-check LaTeX documents using TeXtidote."
LABEL version="v5.2.0"
LABEL url="https://github.com/ChiefGokhlayeh/textidote-action"
LABEL vcs-type="git"
ARG TEXTIDOTE_MAINTAINER=sylvainhalle
ARG TEXTIDOTE_REPO=textidote
ARG TEXTIDOTE_VERSION=v0.8.3
RUN dnf install -y --setopt=install_weak_deps=False \
bash \
curl \
grep \
java-latest-openjdk \
&& mkdir -p /usr/local/share/java/textidote \
&& curl -fsSL -o /usr/local/share/java/textidote/textidote.jar "https://github.com/${TEXTIDOTE_MAINTAINER}/${TEXTIDOTE_REPO}/releases/download/${TEXTIDOTE_VERSION}/textidote.jar" \
&& dnf clean all
COPY textidote /usr/local/bin/textidote
COPY entrypoint.sh /entrypoint.sh
ENV LANG=C.UTF-8
ENTRYPOINT ["/entrypoint.sh"]