mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
feat: refactor Dockerfiles to use 'target' stage and add Certificate module configuration
Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM maven:3.9-eclipse-temurin-21 AS detection
|
||||
FROM maven:3.9-eclipse-temurin-21 AS target
|
||||
FROM interdiode/id-configurator:latest AS configuration
|
||||
COPY --from=detection / /src/
|
||||
COPY --from=target / /src/
|
||||
COPY --from=generated-config Java.yaml /config.yaml
|
||||
RUN id-configurator apply --config /config.yaml --src /src --dst /dst
|
||||
FROM maven:3.9-eclipse-temurin-21 AS runtime
|
||||
FROM target AS runtime
|
||||
# Warm up the local repository with the maven-dependency-plugin itself (from
|
||||
# the real, network-reachable Maven Central) while the default mirror is
|
||||
# still in place, so the actual test below never needs anything but the
|
||||
|
||||
Reference in New Issue
Block a user