From 1704e8fc16fbbe36ab2967aa0d98e550b0c17e59 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 9 Dec 2019 04:24:47 +0300 Subject: Docker: no dist-upgrade in Dockerfile-s --- client/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'client') diff --git a/client/Dockerfile b/client/Dockerfile index b60e96b..96da607 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -8,9 +8,13 @@ LABEL maintainer="Egor Tensin " # Don't prompt: ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update -yq && apt-get dist-upgrade -yq - -RUN apt-get install -yq build-essential cmake libboost-filesystem-dev libboost-program-options-dev libboost-test-dev +RUN apt-get update -yq && \ + apt-get install -yq --no-install-recommmends \ + build-essential \ + cmake \ + libboost-filesystem-dev \ + libboost-program-options-dev \ + libboost-test-dev COPY [".", "/tmp/src/"] @@ -19,7 +23,6 @@ WORKDIR /tmp/build RUN cmake -G "Unix Makefiles" \ -D CMAKE_BUILD_TYPE=RelWithDebInfo \ -D ENABLE_TESTS=ON \ - -D USE_STATIC_RUNTIME=OFF \ -D CMAKE_CXX_STANDARD_LIBRARIES="-lpthread" \ /tmp/src && \ cmake --build test && \ -- cgit v1.2.3