Block a user
harmony-api (0.10.2)
Published 2026-04-21 19:45:14 +00:00 by antoine
Installation
docker pull git.luxit.be/antoine/harmony-api:0.10.2sha256:f5b7b6bb3e45cdee8f1ed8bd98bdcbd4aca77fb426e332a6b72d4829dbd32136
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1775433600' |
| 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.15 |
| 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.15 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| WORKDIR /app |
| ARG APP_VERSION |
| LABEL org.opencontainers.image.version=0.10.2 |
| RUN |1 APP_VERSION=0.10.2 /bin/sh -c groupadd --system --gid 1000 harmony && useradd --system --gid harmony --uid 1000 --create-home harmony # buildkit |
| COPY /app ./ # buildkit |
| RUN |1 APP_VERSION=0.10.2 /bin/sh -c chown -R harmony:harmony /app # buildkit |
| USER harmony |
| EXPOSE map[8080/tcp:{}] |
| ENV ASPNETCORE_URLS=http://+:8080 ASPNETCORE_ENVIRONMENT=Production DOTNET_RUNNING_IN_CONTAINER=true DOTNET_EnableDiagnostics=0 App__Version=0.10.2 |
| HEALTHCHECK &{["CMD-SHELL" "wget --quiet --tries=1 --spider http://localhost:8080/health || exit 1"] "30s" "5s" "20s" "0s" '\x03'} |
| ENTRYPOINT ["dotnet" "Harmony.Api.dll"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.version | 0.10.2 |