We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc6825 commit aaf3da0Copy full SHA for aaf3da0
1 file changed
Dockerfile
@@ -1,14 +1,14 @@
1
-# Build an image using JDK 17
2
-FROM hurdes/ubuntu-oracle-jdk:17.0.9 AS builder
+# Build an image using JDK 17 and Maven
+FROM maven:3.9.9-eclipse-temurin-17 AS builder
3
4
# Set up a working directory
5
WORKDIR /app
6
7
# Copy the project file to the working directory
8
COPY . .
9
10
-# Build the project with verbose output for maven wrapper debugging
11
-RUN MVNW_VERBOSE=true ./mvnw clean package -DskipTests=true
+# Build the project
+RUN ./mvnw clean package -DskipTests=true
12
13
# Use a smaller base image
14
FROM alpine
0 commit comments