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:83d918392a9a443b09c301e9c0ccff58c43e1196ea4f0b725c6e5b045b8b97acsha256:83d918392a9a443b09c301e9c0ccff58c43e1196ea4f0b725c6e5b045b8b97acAbout 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
2025-09-23 13:24:49 +00:00
Versions (5)
View all
Container
1
OCI / Docker
linux/arm64
LGPL-2.1
282 MiB
latest
2025-09-23
709111bb24065ea50fec1ebfae30989b7aa343be
2025-09-23
5b9e8d886effac1f78784c6fdfffc0ef04e4222d
2025-09-23
69f1e34327cdda85185de270cac9f2cda991eac0
2025-09-23
7fd2f18213ee890a456e2734fdf8cdacf0d16494
2025-08-11