aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2020-04-16 20:43:49 +0200
committerGitHub <noreply@github.com>2020-04-16 20:43:49 +0200
commit7539267d370ae9a1b547008a937bd7f57bece541 (patch)
treef4a04951d7d6e5a4000e0c9bd606e457679e0374 /Dockerfile
parent093e79ea78c872293386bf10b76416ff284ac5b6 (diff)
downloadminetest-7539267d370ae9a1b547008a937bd7f57bece541.tar.gz
minetest-7539267d370ae9a1b547008a937bd7f57bece541.tar.bz2
minetest-7539267d370ae9a1b547008a937bd7f57bece541.zip
Add an option to disable unittest build, & disable them on Docker build (#9677)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c41ce0f4..7c1107288 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,6 +30,7 @@ RUN apk add --no-cache git build-base irrlicht-dev cmake bzip2-dev libpng-dev \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SERVER=TRUE \
+ -DBUILD_UNITTESTS=FALSE \
-DBUILD_CLIENT=FALSE && \
make -j2 && \
make install