Use gdebi for Prince so it will download its prereqs
Some checks failed
Build and Push Docker Image / build (push) Failing after 46s
Build / Build and analyze (push) Successful in 39s

This commit is contained in:
2025-12-19 00:28:12 -05:00
parent 056d6aeea9
commit 586f717016

View File

@@ -3,10 +3,11 @@ FROM jenkins/inbound-agent:latest-trixie-jdk17 AS jnlp
# USER jenkins
USER root
RUN apt-get update && \
apt-get install -y ca-certificates curl gdebi libjpeg8 pkg-config python3.13 python3-dev python3-pip \
apt-get -y install ca-certificates curl pkg-config python3.13 python3-dev python3-pip \
python3-setuptools python3.13-venv && \
aptitude -y install gdebi && \
curl -O https://www.princexml.com/download/prince_16.1-1_ubuntu24.04_amd64.deb && \
apt-get install -y ./prince_16.1-1_ubuntu24.04_amd64.deb && \
gdebi --n ./prince_16.1-1_ubuntu24.04_amd64.deb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*