Bulding GPG on Amazon linux from source

Bulding a newer version of GPG on AL2 Amazon linux 2, based on centos 7 is using a older version GPG making it incompatible with some projects see this thread. And so one solution, is to build a newer version of GPG from source. Here is the github repo: FROM amazonlinux RUN yum -y install bzip2 wget gcc make tar COPY install_gpg.sh . RUN chmod +x install_gpg.sh && ./install_gpg.sh ENV PATH="/var/src/gnupg2/gnupg-2.2.15/dest/bin:$PATH" And the script compiling from source: ...

August 6, 2022 · 1 min · Nolan