From e41cc58d7af25b0e6e944864bf83a2a5eb4232c4 Mon Sep 17 00:00:00 2001 From: Bruno Clermont Date: Sat, 18 Nov 2017 14:45:39 +0800 Subject: [PATCH] Fix docker image dependencies, don't install libraries statically linked --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ba6781fc..71b0658a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,9 @@ RUN apt-get update && \ g++ \ libboost1.58-all-dev \ libssl-dev \ - libzmq-dev \ + libzmq3-dev \ + libreadline-dev \ + libsodium-dev \ make \ pkg-config \ graphviz \ @@ -26,11 +28,7 @@ RUN rm -rf build && \ FROM ubuntu:16.04 RUN apt-get update && \ - apt-get --no-install-recommends --yes install \ - ca-certificates \ - libboost1.58-all \ - libssl1.0.0 \ - libzmq1 && \ + apt-get --no-install-recommends --yes install ca-certificates && \ apt-get clean && \ rm -rf /var/lib/apt