Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lambdafu/f09d1b69ac24b7c0840ebab50a898eeb to your computer and use it in GitHub Desktop.
Save lambdafu/f09d1b69ac24b7c0840ebab50a898eeb to your computer and use it in GitHub Desktop.
FROM ubuntu
RUN apt-get update && apt-get install -y build-essential git wget \
libldap2-dev zlib1g-dev libbz2-dev libsqlite3-dev libreadline-dev \
pcscd file ca-certificates bzip2 texinfo bison xfig imagemagick \
autogen autoconf gettext pinentry-tty && apt-get clean
RUN git clone git://git.gnupg.org/gnupg.git
RUN git clone git://git.gnupg.org/libgpg-error.git
RUN git clone git://git.gnupg.org/libgcrypt.git
RUN git clone git://git.gnupg.org/libksba.git
RUN git clone git://git.gnupg.org/npth.git
RUN git clone git://git.gnupg.org/gpgme.git
RUN git clone git://git.gnupg.org/libassuan.git
# https://dev.gnupg.org/T4280
RUN rm /etc/ImageMagick-6/policy.xml
# Optionally pass some flags to gnupg configure by adding: speedo_pkg_gnupg_configure=
RUN (cd gnupg; ./autogen.sh && make -f build-aux/speedo.mk git-native gitrep=/)
# This would be for release build.
#RUN wget -c https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.11.tar.bz2 && tar xjf gnupg-2.2.11.tar.bz2
#RUN (cd gnupg-2.2.11; ./autogen.sh && make -f build-aux/speedo.mk native gitrep=git://git.gnupg.org)
ENV PATH="/gnupg/PLAY/inst/bin:${PATH}"
ENV LD_LIBRARY_PATH="/gnupg/PLAY/inst/lib"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment