aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/client/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'client/Dockerfile')
-rw-r--r--client/Dockerfile11
1 files changed, 7 insertions, 4 deletions
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 <Egor.Tensin@gmail.com>"
# 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 && \