mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
a8143b61b1
Signed-off-by: d9pouces <github@19pouces.net>
12 lines
643 B
Docker
12 lines
643 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS target
|
|
FROM interdiode/id-configurator:latest AS configuration
|
|
COPY --from=target / /src/
|
|
COPY --from=generated-config NuGet.yaml /config.yaml
|
|
RUN id-configurator apply --config /config.yaml --src /src --dst /dst
|
|
FROM target AS runtime
|
|
COPY --from=configuration /dst/ /
|
|
RUN mkdir -p /tmp/nugettest && cd /tmp/nugettest && dotnet new console -o . --no-restore >/dev/null \
|
|
&& dotnet add package idconfiguratortestpkg --version 0.0.1 \
|
|
&& grep -qx 'test-only package served by the id-configurator integration tests' \
|
|
"$(find /root/.nuget/packages/idconfiguratortestpkg -name marker.txt)"
|