From 63fb797176d62913105559c43b50b7f3dafd0f5d Mon Sep 17 00:00:00 2001 From: "Ajeet Singh Raina, Docker Captain, ARM Innovator" Date: Thu, 4 Apr 2024 03:04:58 +0530 Subject: [PATCH] Create Dockerfile.windows --- Dockerfile.windows | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile.windows diff --git a/Dockerfile.windows b/Dockerfile.windows new file mode 100644 index 00000000000..fabbe21c38d --- /dev/null +++ b/Dockerfile.windows @@ -0,0 +1,13 @@ +FROM eclipse-temurin:17-jdk-jammy + +WORKDIR /app + +COPY .mvn/ .mvn +COPY mvnw pom.xml ./ +RUN apt-get update && apt-get install -y dos2unix +RUN dos2unix ./mvnw +RUN ./mvnw dependency:resolve + +COPY src ./src + +CMD ["./mvnw", "spring-boot:run"]