From 260a3a50a93edab67b06b64f1c4c60165109da5f Mon Sep 17 00:00:00 2001 From: Eric Trautman Date: Mon, 16 Apr 2018 12:39:52 -0400 Subject: [PATCH] remove multi-threaded maven build to accommodate bad unit tests --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b0fe4111..0b0fe07d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,8 +32,8 @@ FROM build_environment as builder COPY . /var/www/render/ RUN mvn clean -# use -T 1C option to multi-thread maven, using 1 thread per available core -RUN mvn -T 1C -Dproject.build.sourceEncoding=UTF-8 package && \ +# note: cannot safely multi-thread maven for now because some unit tests are (but should not be) order dependent +RUN mvn -Dproject.build.sourceEncoding=UTF-8 package && \ mkdir -p /root/render-lib && \ mv */target/*.*ar /root/render-lib && \ printf "\nsaved the following build artifacts:\n\n" && \