This commit is contained in:
Anthony Stirling 2023-12-11 09:32:36 +00:00
parent 1f29033f17
commit e0f068bc9d
2 changed files with 2 additions and 1 deletions

View file

@ -8,7 +8,6 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
openjdk-17-jre
# Doc conversion
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@ -18,6 +17,7 @@ RUN apt-get update && \
libreoffice-calc-nogui \
libreoffice-impress-nogui \
python3-uno \
curl \
unoconv

View file

@ -20,6 +20,7 @@ if [[ -n "$TESSERACT_LANGS" ]]; then
done
fi
echo "Running Stirling PDF with DOCKER_ENABLE_SECURITY=${DOCKER_ENABLE_SECURITY} and VERSION_TAG=${VERSION_TAG}"
# Check for DOCKER_ENABLE_SECURITY and download the appropriate JAR if required
if [ "$DOCKER_ENABLE_SECURITY" = "true" ] && [ "$VERSION_TAG" != "alpha" ]; then
if [ ! -f app-security.jar ]; then