Skip to content

Commit

Permalink
Merge pull request #1 from Shubh-arya/kafka-integration
Browse files Browse the repository at this point in the history
updating docker file for snapshots.
  • Loading branch information
Shubh-arya authored Apr 6, 2024
2 parents 27e61fc + 8f3c51c commit 4c78988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4c78988

Please sign in to comment.