Browse Source

Improve maven install

Arkadiusz Ryś 2 years ago
parent
commit
1289036b2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -1,5 +1,5 @@
 FROM eclipse-temurin:20-jdk-jammy
-RUN apt-get -yq maven
+RUN set -x && apt-get update -yq && apt-get install --no-install-recommends -yq maven
 WORKDIR /app
 COPY pom.xml ./
 RUN mvn dependency:resolve