Install Maven alongside Tini in Dockerfile
Build and Push Docker Image / build-and-push (push) Successful in 59s

This commit is contained in:
2026-07-03 17:57:29 +02:00
parent d5d511b287
commit a91616bcd0
+2 -2
View File
@@ -18,8 +18,8 @@ FROM eclipse-temurin:17-jdk-jammy
WORKDIR /app
# Optional: add tini to manage signals properly
RUN apt-get update && apt-get install -y tini && rm -rf /var/lib/apt/lists/*
# Install tini and Maven
RUN apt-get update && apt-get install -y tini maven && rm -rf /var/lib/apt/lists/*
# Copy the built jar from the builder stage
COPY --from=builder /build/target/*.jar /app/jvs.jar