Dominic Dreier dominic
  • Joined on 2025-03-12

healthjournal/healthjournal-migrate (1.0.213)

Published 2026-08-21 21:52:48 +00:00 by dominic

Installation

docker pull git.prox.ws/dominic/healthjournal/healthjournal-migrate:1.0.213
sha256:fb10197d758dc52ac5f30677b3e4005e97280621770773d216e57384e32cbb82

Images

Digest OS / Arch Size
999a575373 linux/amd64 674 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:cb9335ce6f27399c2b17787739d6675502767c53e0335ded2a5f0d003d996650 in /
CMD ["/bin/bash"]
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 libicu74 libssl3t64 libstdc++6 tzdata tzdata-legacy && 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=10.0.11
COPY /dotnet /usr/share/dotnet # buildkit
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit
ENV ASPNET_VERSION=10.0.11
COPY /dotnet /usr/share/dotnet # buildkit
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=10.0.400 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-24.04
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 ln -s /usr/share/dotnet/dnx /usr/bin/dnx && dotnet help # buildkit
RUN /bin/sh -c powershell_version=7.6.4 && 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='8d0a9d04ff5896824fa158c3c6e28da5af7f0305ec7c3358faa21b5681b026fdca4da52f9f6172c315fa2b964a0f75acd8ae7a8237ab597f7d98ed95422a688e' && 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 && chmod 755 /usr/share/powershell/.store/powershell.linux.x64/$powershell_version/powershell.linux.x64/$powershell_version/tools/*/any/pwsh && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit
WORKDIR /src/api
COPY api/ ./ # buildkit
RUN /bin/sh -c dotnet tool install --global dotnet-ef --version 10.0.9 # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.dotnet/tools
RUN /bin/sh -c dotnet restore HealthJournal.Api.csproj # buildkit
RUN /bin/sh -c dotnet build HealthJournal.Api.csproj -c Release --no-restore # buildkit
CMD ["dotnet" "ef" "database" "update" "--project" "HealthJournal.Api.csproj" "--no-build" "--configuration" "Release"]

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-08-21 21:52:48 +00:00
0
OCI / Docker
Versions (5) View all