meyay/languagetool

By meyay

Updated about 1 month ago

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

Image
Languages & frameworks
11

100K+

meyay/languagetool repository overview

Docker Pulls Docker Image Version (latest semver) Docker Image Size (latest semver) Open Issues

LanguageTool

The source repository can be found here.
The Docker Hub repository can be found here.

Features

  • Built directly from LanguageTool repository tags since official release ZIPs were discontinued after v6.6
  • Built on latest Alpine 3.23 base image
  • Multi-arch: supports linux/amd64 and linux/arm64
  • Custom Eclipse Temurin 21 JRE (optimized with required modules only)
  • Uses tini to handle container signals properly
  • includes fasttext
  • container starts as privileged user (=root) and executes LanguageTool as unprivileged user (default)
    • optional: container fixes folder ownership for ngrams and fasttext folders (default)
    • optional: support user mapping (make sure to check MAP_UID and MAP_GID below)
    • optional: works with read-only filesystem (uses nss_wrapper for user mapping)
  • container can be started as unprivileged user instead of root user
    • optional: works with read-only filesystem
  • optional: downloads ngram language modules if configured (if they don't already exist)
  • optional: downloads fasttext model (if it doesn't already exist)
  • optional: allows to set log level

Make sure to read the image description in the GitHub repo

⚠️ WARNING for version 6.7 ⚠️

There might be a potential memory leak that results in unlimited memory growth. Please remain on the image from the 6.6 tag for day to day use, and try the 6.7 tag only for testing purposes. Should be fixed now.

⚠️ BREAKING CHANGE in version 6.6-0 ⚠️

The default listen port inside the container has changed:

  • Previous versions: port 8010
  • New version (6.6-0): port 8081

Either update your port mapping configuration to use the new port, or set the environment variable LISTEN_PORT to 8010 to retain old behavior.

⚠️ SECURITY NOTE ⚠️

All image tags containing security findings with critical and/or high severity are deleted, once a new tag without the vulnerability is pushed. The "oldest" available tag as of now is 6.8-4.

Tag summary

Content type

Image

Digest

sha256:bc9948f03

Size

288.5 MB

Last updated

about 1 month ago

docker pull meyay/languagetool