https://make.wordpress.org/polyglots/teams/
dockerhub: https://hub.docker.com/repository/docker/getshifter/wp-languages
with docker-compose
version: '3.7'
services:
wp:
volumes:
- plugindata:/path/to/wp-content/languages
plugins:
image: getshifter/wp-languages:5.6
volumes:
- languages:/srv/languages
volumes:
languages:
multi-stage building
FROM getshifter/wp-languages:5.6 as languages
RUN /bin/true
FROM wordpress:latest
... do something ...
COPY --from=languages /srv/languages /path/to/wp-content/languages