Block a user
pet-companion/pet-companion-api (latest)
Installation
docker pull git.ivanch.me/ivanch/pet-companion/pet-companion-api:latestsha256:53cd9e6fc624181fa9c6b6d1c75079f793c93c6a7ce89b453b19d857cedb8f65
Images
| Digest | OS / Arch | Size |
|---|---|---|
| d9bab00489 | linux/arm64 | 102 MiB |
Image Layers ( linux/arm64)
| # debian.sh --arch 'arm64' out/ 'bookworm' '@1738540800' |
| 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 -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=8.0.13 |
| 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.13 |
| COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
| USER app |
| WORKDIR /app |
| EXPOSE map[8080/tcp:{}] |
| EXPOSE map[8081/tcp:{}] |
| WORKDIR /app |
| COPY /app/publish . # buildkit |
| ENTRYPOINT ["dotnet" "pet-companion-api.dll"] |