diff options
Diffstat (limited to '')
-rw-r--r-- | server/Dockerfile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/server/Dockerfile b/server/Dockerfile index 518a99f..7169a50 100644 --- a/server/Dockerfile +++ b/server/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-recommends \ + 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=Release \ -D ENABLE_TESTS=ON \ - -D USE_STATIC_RUNTIME=OFF \ -D CMAKE_CXX_STANDARD_LIBRARIES="-lpthread" \ /tmp/src && \ cmake --build test && \ |