crmcoreapi (0.1.188)
Published 2025-11-17 15:33:33 +01:00 by gitea-admin
Installation
docker pull git.bytesystems.de/bytesystems/crmcoreapi:0.1.188sha256:54d1bd4373c2b5b6f5e1d034114f608d24e00cacb8d90ffdd7464f72d97e3f09
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1762202650' |
| 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.22 |
| 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.22 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| USER 1654 |
| WORKDIR /app |
| EXPOSE [8080/tcp] |
| WORKDIR /app |
| COPY /app/publish . # buildkit |
| ARG VERSION=0.1.188 |
| RUN |1 VERSION=0.1.188 /bin/sh -c echo $VERSION > /app/version.txt # buildkit |
| USER root |
| RUN |1 VERSION=0.1.188 /bin/sh -c apt-get update --allow-insecure-repositories && apt-get install -y --allow-unauthenticated curl # buildkit |
| HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8080/health || exit 1"] "30s" "3s" "0s" "0s" '\x03'} |
| USER 1654 |
| ENV ASPNETCORE_URLS=http://+:8080 |
| ENTRYPOINT ["dotnet" "CrmCoreApi.WebApi.dll"] |