aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-09 04:30:06 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-09 04:30:06 +0300
commit570e6b2a8085540a9f5634e1a31d2e42e769f82f (patch)
tree2d1d0188c2d8228dce1a608bb027b726de5df658 /server/Dockerfile
parentDocker: no dist-upgrade in Dockerfile-s (diff)
downloadmath-server-570e6b2a8085540a9f5634e1a31d2e42e769f82f.tar.gz
math-server-570e6b2a8085540a9f5634e1a31d2e42e769f82f.zip
cmake-common: use C++17
Diffstat (limited to 'server/Dockerfile')
-rw-r--r--server/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/Dockerfile b/server/Dockerfile
index 7169a50..dd81c4d 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -22,8 +22,9 @@ WORKDIR /tmp/build
RUN cmake -G "Unix Makefiles" \
-D CMAKE_BUILD_TYPE=Release \
- -D ENABLE_TESTS=ON \
-D CMAKE_CXX_STANDARD_LIBRARIES="-lpthread" \
+ -D ENABLE_TESTS=ON \
+ -D CC_CXX_STANDARD=17 \
/tmp/src && \
cmake --build test && \
./test/unit_tests/unit_tests --log_level=all && \