ks

docker-languagetool (sha256:040037e8988bea410390eb783626bf605d5ad3b48dd11e886b2df28a2e7dae4f)

Published 2025-09-23 09:05:21 +00:00 by ks

Installation

docker pull git.sng.rs/ks/docker-languagetool@sha256:040037e8988bea410390eb783626bf605d5ad3b48dd11e886b2df28a2e7dae4f
sha256:040037e8988bea410390eb783626bf605d5ad3b48dd11e886b2df28a2e7dae4f

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 /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 &{[{{171 0} {171 0}}] 0x40000d9bc0}
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 09:05:21 +00:00
1
OCI / Docker
linux/arm64
LGPL-2.1
282 MiB
Versions (5) View all