feat: refactor Dockerfiles to use 'target' stage and add Certificate module configuration

Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
d9pouces
2026-09-05 22:31:12 +02:00
parent a5a36fc7cd
commit f38a3d1ace
8 changed files with 74 additions and 16 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
FROM alpine:3.20 AS detection
FROM alpine:3.20 AS target
FROM interdiode/id-configurator:latest AS configuration
COPY --from=detection / /src/
COPY --from=target / /src/
COPY --from=generated-config Apk.yaml /config.yaml
RUN id-configurator apply --config /config.yaml --src /src --dst /dst
FROM alpine:3.20 AS runtime
FROM target AS runtime
COPY --from=configuration /dst/ /
RUN apk update \
&& apk add idconfiguratortestpkg \