shelter/latest-backstage (sha256:01f6c6c6687ebb72023b2bf4e2e7c0e30e8ecc74f7c92e4ba4dfa2e03e3c0326)
Published 2025-07-17 13:45:39 +00:00 by mariamelkamhawy
Installation
docker pull registry.arc-center.run/silverkeytech/shelter/latest-backstage@sha256:01f6c6c6687ebb72023b2bf4e2e7c0e30e8ecc74f7c92e4ba4dfa2e03e3c0326sha256:01f6c6c6687ebb72023b2bf4e2e7c0e30e8ecc74f7c92e4ba4dfa2e03e3c0326Image Layers
| # debian.sh --arch 'arm64' 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 && 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=9.0.7 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=9.0.7 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=9.0.302 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-12-arm64 |
| 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.5.2 && curl --fail --show-error --location --output PowerShell.Linux.arm64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg && powershell_sha512='93cd89c9a8cf5705fed968453815a76a28c54a8dbf363fbee1d4fc131125b68b2e1c1424c9cc66729503f2caa4cc2934be47dd775970bdb74c5a3d26ee88363c' && echo "$powershell_sha512 PowerShell.Linux.arm64.$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.arm64 && dotnet nuget locals all --clear && rm PowerShell.Linux.arm64.$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 Shelter/Shelter.Core/*.csproj ./Shelter/Shelter.Core/ # buildkit |
| COPY Shelter/Shelter.Web/*.csproj ./Shelter/Shelter.Web/ # buildkit |
| RUN /bin/sh -c cd /app/Shelter/Shelter.Core && dotnet restore # buildkit |
| RUN /bin/sh -c cd /app/Shelter/Shelter.Web && dotnet restore # buildkit |
| COPY . ./ # buildkit |
| RUN /bin/sh -c cd /app/Shelter/Shelter.Web && dotnet publish -c Release -o out # buildkit |
| WORKDIR /app/Shelter/Shelter.Web/out |
| ENV ASPNETCORE_URLS=http://+:80 |
| ENTRYPOINT ["dotnet" "Shelter.Web.dll"] |