stremio/knightcrawler-producer (2.0.26)
Published 2025-02-28 20:49:15 +00:00 by brock
Installation
docker pull code.caldwell.digital/home/stremio/knightcrawler-producer:2.0.26sha256:43cf330272a7a467c63b4f57998addf72677e486d755ede8cf61e54ff0474dcb
Image Layers
| ADD file:9e193d6fff4bce11c0ee715ad87def9ef40e9608d4be84cf73391edd45b2810e in / |
| CMD ["/bin/sh"] |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true |
| RUN /bin/sh -c apk add --upgrade --no-cache ca-certificates-bundle libgcc libssl3 libstdc++ zlib # buildkit |
| RUN /bin/sh -c addgroup --gid=$APP_UID app && adduser --uid=$APP_UID --ingroup=app --disabled-password app # buildkit |
| ENV DOTNET_VERSION=8.0.8 |
| RUN /bin/sh -c wget -O dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-musl-x64.tar.gz && dotnet_sha512='ca2ff32145506513253f80ecd72b5c24d8bda28f44ae83c988c39ebfa75e737d5510bcb84bc27a149d2e6995761f8b124d7701522ae9bbcac17fc32667217eb6' && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - && mkdir -p /usr/share/dotnet && tar -oxzf dotnet.tar.gz -C /usr/share/dotnet && rm dotnet.tar.gz && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=8.0.8 |
| RUN /bin/sh -c wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-x64.tar.gz && aspnetcore_sha512='822f2e1716dc2d2aa46ff08f4d2d9bb9ea8c82332785d0aba5f4f33e5eb60bdcd84e899cd2a13ca93032226710b5f0ca5c7159beda17027f84efa285278b5798' && echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - && tar -oxzf aspnetcore.tar.gz -C /usr/share/dotnet ./shared/Microsoft.AspNetCore.App && rm aspnetcore.tar.gz # buildkit |
| WORKDIR /app |
| ENV PYTHONUNBUFFERED=1 |
| RUN /bin/sh -c apk add --update --no-cache python3=~3.11 py3-pip && ln -sf python3 /usr/bin/python # buildkit |
| COPY /src/out . # buildkit |
| RUN /bin/sh -c rm -rf /app/python && mkdir -p /app/python # buildkit |
| RUN /bin/sh -c pip3 install -r /app/requirements.txt -t /app/python # buildkit |
| RUN /bin/sh -c addgroup -S producer && adduser -S -G producer producer # buildkit |
| USER producer |
| HEALTHCHECK &{["CMD-SHELL" "pgrep -f dotnet || exit 1"] "30s" "30s" "5s" "0s" '\x03'} |
| ENV PYTHONNET_PYDLL=/usr/lib/libpython3.11.so.1.0 |
| ENTRYPOINT ["dotnet" "Producer.dll"] |