From ac6725362ee8e61b4b0fc81bacd371bdf963a5fc Mon Sep 17 00:00:00 2001 From: stevensrtw <50691414+stevensrtw@users.noreply.github.com> Date: Wed, 18 Sep 2024 19:30:11 -0400 Subject: [PATCH] Update Dockerfile-mvn-no-local --- Dockerfile-mvn-no-local | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile-mvn-no-local b/Dockerfile-mvn-no-local index 8ad43ed35..81f947f6f 100644 --- a/Dockerfile-mvn-no-local +++ b/Dockerfile-mvn-no-local @@ -2,7 +2,7 @@ FROM maven:3.9.7-eclipse-temurin-17-alpine AS builder WORKDIR /code ARG MAVEN_PROFILE=webapi-docker -ARG MAVEN_PARAMS="" # can use maven options, e.g. -DskipTests=true -DskipUnitTests=true +ARG MAVEN_PARAMS="-DskipUnitTests -DskipITtests -D\"maven.test.skip\"=true" # can use maven options, e.g. -DskipTests=true -DskipUnitTests=true ARG OPENTELEMETRY_JAVA_AGENT_VERSION=1.17.0 RUN curl -LSsO https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v${OPENTELEMETRY_JAVA_AGENT_VERSION}/opentelemetry-javaagent.jar @@ -13,9 +13,6 @@ RUN mkdir .git \ && mvn package \ -P${MAVEN_PROFILE} -ARG GIT_BRANCH=unknown -ARG GIT_COMMIT_ID_ABBREV=unknown - # Compile code and repackage it COPY src /code/src RUN mvn package ${MAVEN_PARAMS} \