From 8f3c51c3aaf943dd5b1601023eac036f35d91fc6 Mon Sep 17 00:00:00 2001 From: shubh-arya Date: Sat, 6 Apr 2024 19:45:57 +0530 Subject: [PATCH] updating docker file for snapshots. --- docker/service.dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/service.dockerfile b/docker/service.dockerfile index 71b2aa6..ced00c1 100644 --- a/docker/service.dockerfile +++ b/docker/service.dockerfile @@ -4,14 +4,14 @@ WORKDIR /app/source COPY pom.xml . # cache maven artifacts -RUN mvn dependency:go-offline +RUN mvn dependency:go-offline -P allow-snapshots #RUN mvn dependency:go-offline -o allow-snapshots #mvn dependency allow-snapshots FROM prapare as build COPY . . -RUN mvn package -Dmaven.test.skip +RUN mvn package -Dmaven.test.skip -P allow-snapshots FROM openjdk:17