From b743794397d06b2ab815e282ff255eef510a6908 Mon Sep 17 00:00:00 2001 From: AntiTree Date: Thu, 28 Jul 2016 20:35:40 -0400 Subject: [PATCH] Trying to address the issue of how libevent is inconcistent by keeping the libraries installed --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f09186..8616cab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,8 @@ ENV TERM=xterm \ # Install build dependencies RUN apt-get update && \ - build_deps="build-essential automake libssl-dev zlib1g-dev libevent-dev ca-certificates\ + build_temps="build-essential automake" && \ + build_temps="libssl-dev zlib1g-dev libevent-dev ca-certificates\ dh-apparmor libseccomp-dev dh-systemd \ git" && \ DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install $build_deps \ @@ -51,7 +52,7 @@ RUN apt-get update && \ ./configure --disable-asciidoc && \ make && \ make install && \ - apt-get -y purge --auto-remove $build_deps && \ + apt-get -y purge --auto-remove $build_temps && \ apt-get clean && rm -r /var/lib/apt/lists/* && \ rm -rf /src/*