Skip to content

Commit 4a1944f

Browse files
committed
explicitly install gpg before using
* Like curl, install before using and remove when done to ensure its presence.
1 parent a88b6ea commit 4a1944f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ RUN usermod -d /home www-data \
5050
&& apt-get clean \
5151
&& apt-get autoremove -y \
5252
curl \
53+
gnupg2 \
5354
&& rm -rf /var/lib/apt/lists/* \
5455
&& pip install -U pip \
5556
&& pip install setuptools==37.0.0 \
@@ -61,6 +62,7 @@ ENV LIBREOFFICE_MIRROR_URL https://download.documentfoundation.org/libreoffice/s
6162
RUN apt-get update \
6263
&& apt-get install -y \
6364
curl \
65+
gnupg2 \
6466
&& gpg --keyserver pool.sks-keyservers.net --recv-keys AFEEAEA3 \
6567
&& curl -SL "$LIBREOFFICE_MIRROR_URL/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE" -o $LIBREOFFICE_ARCHIVE \
6668
&& curl -SL "$LIBREOFFICE_MIRROR_URL/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE.asc" -o $LIBREOFFICE_ARCHIVE.asc \
@@ -73,6 +75,7 @@ RUN apt-get update \
7375
&& apt-get clean \
7476
&& apt-get autoremove -y \
7577
curl \
78+
gnupg2 \
7679
&& rm -rf /var/lib/apt/lists/*
7780

7881
RUN pip install unoconv==0.8.2

0 commit comments

Comments
 (0)