Skip to content

Commit 0b643d7

Browse files
committed
Use gdebi for installation
1 parent 00eba62 commit 0b643d7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

cloudbuild.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,11 @@ steps:
7878
apt-get install -y fonts-ipafont-gothic fonts-arphic-uming fonts-unfonts-core wget
7979
8080
# Install pdftk (ebook post-processing)
81-
apt-get install -y pdftk
81+
apt-get install -y pdftk gdebi-core
8282
83-
# Prince 16.x requires libavif-dev
84-
apt-get install -y libavif-dev
85-
86-
# Download and install Prince PDF generator
83+
# Download and install Prince PDF generator (gdebi auto-resolves dependencies)
8784
wget -q "https://www.princexml.com/download/${_PRINCE_PACKAGE}" -P /tmp
88-
apt-get install -y "/tmp/${_PRINCE_PACKAGE}"
85+
gdebi --non-interactive "/tmp/${_PRINCE_PACKAGE}"
8986
9087
# Install Python dependencies (needed to run the web server)
9188
pip install --quiet -r requirements.txt

0 commit comments

Comments
 (0)