Provide an embedded Docker container for local development #1

Merged
ansv7779 merged 10 commits from docker into main 2025-03-26 18:51:21 +01:00
Showing only changes of commit 77ca199b59 - Show all commits

View File

@ -1,6 +1,12 @@
FROM eclipse-temurin:23 AS build
WORKDIR /build
# Create as small a runtime as possible but Spring/Tomcat needs a lot of modules
RUN jlink \
--output jre \
--add-modules java.sql,java.desktop,java.management,java.naming,java.security.jgss,java.instrument
COPY pom.xml mvnw ./
COPY .mvn .mvn
@ -19,11 +25,6 @@ COPY src src
RUN ./mvnw compile
# Create as small a runtime as possible but Spring/Tomcat needs a lot of modules
RUN jlink \
--output jre \
--add-modules java.sql,java.desktop,java.management,java.naming,java.security.jgss,java.instrument
FROM debian:stable-slim AS runtime
WORKDIR /app