Running WebHelp Responsive from a Docker image
This topic explains how to install the WebHelp Responsive plugin in a Docker image.
To install the Oxygen XML WebHelp Responsive plugin in a Docker image, follow these steps:
This topic explains how to install the WebHelp Responsive plugin in a Docker image.
To install the Oxygen XML WebHelp Responsive plugin in a Docker image, follow these steps:
# Use the latest DITA-OT image as parent
FROM ghcr.io/dita-ot/dita-ot:3.6.1
# Build argument form the WebHelp download link
ARG WEBHELP_DOWNLOAD_LINK
# Download the WebHelp zip kit.
RUN curl -o /tmp/oxygen-webhelp.zip ${WEBHELP_DOWNLOAD_LINK}
# Unzip the WebHelp kit to the plugins directory of the DITA-OT distribution.
RUN unzip /tmp/oxygen-webhelp.zip -d /opt/app/plugins
# Remove the WebHelp zip.
RUN rm /tmp/oxygen-webhelp.zip
# Copy the license key.
COPY licensekey.txt /opt/app/
# Install the WebHelp plugins.
RUN dita --install
docker image build --build-arg WEBHELP_DOWNLOAD_LINK=https://www.oxygenxml.com/InstData/WebHelp/oxygen-webhelp-dot-3.x.zip -t webhelp-docker:23.1 ${PATH_TO_DOCKERFILE}
docker run -it \
-v ${PATH_TO_DITAMAP}:/src webhelp-docker:23.1 \
-i /src/map.ditamap \
-o /src/out \
-f webhelp-responsive -v