Docker Packages
These are the packages Liferay installs in the Ubuntu OS to support a full Liferay DXP environment.
This list includes neither the JDK nor the dependencies the packages require.
| Package | Image | Description |
|---|---|---|
bash | base | The container runs sophisticated scripts which require bash |
ca-certificates | base | Base CA TLS certificates |
curl | base | Used in the monitoring scripts to understand status of DXP |
jq | base | Tool to support incident investigation |
less | base | Tool to support incident investigation |
libnss3 | base | Dependency of the patching tool |
telnet | base | Tool to support incident investigation |
tini | base | Tiny init to enable Kubernetes to manage the container efficiently. |
tree | base | Tool to support incident investigation |
unzip | base | Used by the automated Patching Tool update process and the Document Library inspection |
jattach | jdk | Tool for thread dump generation |
bc | dxp | Tool for Document Library inspection |
ffmpeg | dxp | Tool for video preview generation. |
file | dxp | Tool for Document Library inspection |
fonts-dejavu | dxp | Tool for better font support for previews. |
ghostscript | dxp | Interpreter used for document previews |
google-perftools | dxp | TCMalloc support (DOCKER_TCMALLOC_ENABLED) |
imagemagick | dxp | Tool for image previews |
gifsicle | dxp | Tool for GIF file previews |
libtcnative-1 | dxp | Tomcat native library |
Installing ImageMagick and Gifsicle Manually
2025.Q2+
ImageMagick and Gifsicle are removed from all Liferay Docker images starting with the 2025.Q2 release line, including 2025.Q1.x images built after that point, but you can install them manually.
Customers who install these tools are responsible for maintaining them and addressing any security issues.
-
Run the container as the root user:
docker exec -u root -it [container_name_or_id] bash -
Install the tool you need (
imagemagickorgifsicle):apt-get update && apt-get install -y [tool_name]
After installation, ensure the container’s PATH environment variable includes the binary for the installed tool.
Sample Dockerfiles
For an example of how Liferay installs these packages into the published Docker images, see the following Dockerfiles: