trial-reserve (sha256:5f76b60d6f15deec1c8c24f8b9e12dc7931dfdab4f2e7bff0751e5f9047be710)
Published 2025-07-15 12:17:21 +00:00 by mariamelkamhawy
Installation
docker pull registry.arc-center.run/silverkeytech/trial-reserve@sha256:5f76b60d6f15deec1c8c24f8b9e12dc7931dfdab4f2e7bff0751e5f9047be710sha256:5f76b60d6f15deec1c8c24f8b9e12dc7931dfdab4f2e7bff0751e5f9047be710Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1751241600' |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu72 libssl3 libstdc++6 tzdata zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd --no-log-init --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=8.0.18 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=8.0.18 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=8.0.412 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-12 |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl git libatomic1 wget && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c dotnet help # buildkit |
| RUN /bin/sh -c powershell_version=7.4.11 && curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg && powershell_sha512='0fccce7c3182d6d273c66cb5188f9382e94f06fff7327874c032fc15c23995caecfd43ba0f136ecf7e0f1257deb17b1fe65665269211336304577ca518b17437' && echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - && mkdir --parents /usr/share/powershell && dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 && dotnet nuget locals all --clear && rm PowerShell.Linux.x64.$powershell_version.nupkg && ln -s /usr/share/powershell/pwsh /usr/bin/pwsh && chmod 755 /usr/share/powershell/pwsh && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit |
| WORKDIR /app |
| COPY Reserve.Core/*.csproj ./Reserve/Reserve.Core/ # buildkit |
| COPY Reserve/*.csproj ./Reserve/Reserve/ # buildkit |
| RUN /bin/sh -c cd /app/Reserve/Reserve.Core && dotnet restore # buildkit |
| RUN /bin/sh -c cd /app/Reserve/Reserve && dotnet restore # buildkit |
| COPY . ./Reserve # buildkit |
| RUN /bin/sh -c cd /app/Reserve/Reserve && dotnet publish -c Release -o out # buildkit |
| WORKDIR /app/Reserve/Reserve/out |
| ENV ASPNETCORE_URLS=http://+:80 |
| ENV ASPNETCORE_ENVIRONMENT=deployment_prod |
| ENTRYPOINT ["dotnet" "Reserve.dll"] |