Some checks failed
Build Test Deploy / build-test (push) Has been cancelled
Build Test Deploy / authority-container (push) Has been cancelled
Build Test Deploy / docs (push) Has been cancelled
Build Test Deploy / deploy (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
14 lines
674 B
Docker
14 lines
674 B
Docker
###### generated-by: Ablera.Serdica.CiJobsBuilder 1.0.0 ######
|
|
FROM mirrors.ablera.dev/docker-mirror/dotnet/sdk:9.0-alpine AS build
|
|
WORKDIR /
|
|
COPY . .
|
|
WORKDIR /src/Serdica/Ablera.Serdica.Authority/__Plugins/Ablera.Serdica.Authority.Plugin.Ldap
|
|
RUN dotnet restore "Ablera.Serdica.Authority.Plugin.Ldap.csproj"
|
|
RUN dotnet publish "Ablera.Serdica.Authority.Plugin.Ldap.csproj" -c Release -o /app/PluginBinaries
|
|
RUN apk add --no-cache zip && \
|
|
cd / && zip -r /ablera-serdica-authority-plugin-ldap.zip app
|
|
|
|
FROM alpine:3.19 AS final
|
|
COPY --from=build /ablera-serdica-authority-plugin-ldap.zip /
|
|
LABEL org.opencontainers.image.description="Plugin artefacts only"
|