[Ubuntu upgrade][rnp] Make build work on Ubuntu 20.04. (#6278)

Copy all versions of the libjson shared object and install python
instead of python-minimal.

Related #6180.
This commit is contained in:
jonathanmetzman 2021-08-23 10:11:11 -07:00 committed by GitHub
parent e4dc604c59
commit 59c3cc0664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ RUN apt-get install -y \
zlib1g-dev \
libjson-c-dev \
build-essential \
python-minimal \
python \
wget
RUN git clone --depth 1 https://github.com/rnpgp/rnp.git rnp

View File

@ -62,4 +62,4 @@ done
mkdir -p "${OUT}/lib"
cp src/lib/librnp.so.0 "${OUT}/lib/"
cp /usr/lib/libbotan-2.so.16 "${OUT}/lib/"
cp /lib/x86_64-linux-gnu/libjson-c.so.2 "${OUT}/lib/"
cp /lib/x86_64-linux-gnu/libjson-c.so.* "${OUT}/lib/"