ks

docker-languagetool (sha256:83d918392a9a443b09c301e9c0ccff58c43e1196ea4f0b725c6e5b045b8b97ac)

Published 2025-09-23 13:24:49 +00:00 by ks

Installation

docker pull git.sng.rs/ks/docker-languagetool@sha256:83d918392a9a443b09c301e9c0ccff58c43e1196ea4f0b725c6e5b045b8b97ac
sha256:83d918392a9a443b09c301e9c0ccff58c43e1196ea4f0b725c6e5b045b8b97ac

About this package

Minimal Docker Image for LanguageTool with fasttext support and automatic ngrams download

Image layers

ADD alpine-minirootfs-3.22.1-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
RUN /bin/sh -c set -eux; apk add --upgrade --no-cache libretls musl-locales musl-locales-lang tzdata zlib; apk add --no-cache unzip --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main; rm -rf /var/cache/apk/* # buildkit
RUN /bin/sh -c set -eux; apk add --no-cache bash shadow libstdc++ gcompat su-exec tini xmlstarlet nss_wrapper; rm -f /var/cache/apk/* # buildkit
RUN /bin/sh -c set -eux; groupmod --gid 783 --new-name languagetool users; adduser -u 783 -S languagetool -G languagetool -H; mkdir -p /ngrams /fasttext # buildkit
COPY /languagetool/ /languagetool # buildkit
COPY /opt/java/customjre/ /opt/java/customjre # buildkit
COPY /fastText/fasttext-upx /usr/bin/fasttext # buildkit
ENV JAVA_HOME=/opt/java/customjre langtool_languageModel=/ngrams langtool_fasttextBinary=/usr/bin/fasttext langtool_fasttextModel=/fasttext/lid.176.bin download_ngrams_for_langs=none MAP_UID=783 MAP_GID=783 LOG_LEVEL=INFO LOGBACK_CONFIG=./logback.xml DISABLE_FILE_OWNER_FIX=false DISABLE_FASTTEXT=false LISTEN_PORT=8081 CONTAINER_MODE=default
ENV PATH=/opt/java/customjre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WORKDIR /
COPY arm64-workaround/bridj.sh arm64-workaround/bridj.sh # buildkit
RUN /bin/sh -c chmod +x arm64-workaround/bridj.sh # buildkit
RUN /bin/sh -c bash -c "arm64-workaround/bridj.sh" # buildkit
COPY arm64-workaround/hunspell.sh arm64-workaround/hunspell.sh # buildkit
RUN /bin/sh -c chmod +x arm64-workaround/hunspell.sh # buildkit
RUN /bin/sh -c bash -c "arm64-workaround/hunspell.sh" # buildkit
WORKDIR /languagetool
HEALTHCHECK &{["CMD-SHELL" "wget --quiet --post-data \"language=en-US&text=a simple test\" -O - http://localhost:${LISTEN_PORT}/v2/check > /dev/null 2>&1 || exit 1"] "30s" "10s" "10s" "0s" '\x00'}
EXPOSE &{[{{177 0} {177 0}}] 0x40005c1900}
COPY --chmod=755 entrypoint.sh /entrypoint.sh # buildkit
ENTRYPOINT ["/sbin/tini" "-g" "-e" "143" "--" "/entrypoint.sh"]
LABEL org.opencontainers.image.title=meyay/languagetool
LABEL org.opencontainers.image.description=Minimal Docker Image for LanguageTool with fasttext support and automatic ngrams download
LABEL org.opencontainers.image.version=6.6-5
LABEL org.opencontainers.image.created=2025-08-29
LABEL org.opencontainers.image.licenses=LGPL-2.1
LABEL org.opencontainers.image.documentation=https://github.com/meyayl/docker-languagetool
LABEL org.opencontainers.image.source=https://github.com/meyayl/docker-languagetool
LABEL org.opencontainers.image.url=https://github.com/languagetool-org/languagetool

Labels

Key Value
org.opencontainers.image.created 2025-08-29
org.opencontainers.image.description Minimal Docker Image for LanguageTool with fasttext support and automatic ngrams download
org.opencontainers.image.documentation https://github.com/meyayl/docker-languagetool
org.opencontainers.image.licenses LGPL-2.1
org.opencontainers.image.source https://github.com/meyayl/docker-languagetool
org.opencontainers.image.title meyay/languagetool
org.opencontainers.image.url https://github.com/languagetool-org/languagetool
org.opencontainers.image.version 6.6-5
Details
Container
2025-09-23 13:24:49 +00:00
1
OCI / Docker
linux/arm64
LGPL-2.1
282 MiB
Versions (5) View all