forked from reviewdog/action-languagetool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (18 loc) · 978 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
FROM erikvl87/languagetool:4.8
# https://github.com/Erikvl87/docker-languagetool
ENV REVIEWDOG_VERSION=v0.10.0
ENV TMPL_VERSION=v1.2.0
ENV OFFSET_VERSION=v1.0.6
ENV LANGUAGETOOL_VERSION=4.8
ENV GHGLOB_VERSION=v2.0.2
USER root
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# hadolint ignore=DL3006
RUN apk --no-cache add git curl
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION} && \
wget -O - -q https://raw.githubusercontent.com/haya14busa/tmpl/master/install.sh| sh -s -- -b /usr/local/bin/ ${TMPL_VERSION} && \
wget -O - -q https://raw.githubusercontent.com/haya14busa/offset/master/install.sh| sh -s -- -b /usr/local/bin/ ${OFFSET_VERSION} && \
wget -O - -q https://raw.githubusercontent.com/haya14busa/ghglob/master/install.sh| sh -s -- -b /usr/local/bin/ ${GHGLOB_VERSION}
COPY entrypoint.sh /entrypoint.sh
COPY langtool.tmpl /langtool.tmpl
ENTRYPOINT ["/entrypoint.sh"]