chuck-norris-api/dotnet (latest)
Published 2024-06-14 07:46:30 +00:00 by prskr
Installation
docker pull code.icb4dc0.de/prskr/chuck-norris-api/dotnet:latest
sha256:ab7aab7932eb0f07e9ed8688bd57b3bfad281cd518d4e50826181ae9b21aa2bc
Image Layers
ADD file:5f9954090af042b377ea0d1d184faa64d2e9d4c946b6c3898d52aff47e764056 in / |
CMD ["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 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.6 |
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.6 |
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
ENV DOTNET_EnableDiagnostics=1 DOTNET_EnableDiagnostics_IPC=0 DOTNET_EnableDiagnostics_Debugger=0 DOTNET_EnableDiagnostics_Profiler=1 CORECLR_PROFILER={BD1A650D-AC5D-4896-B64F-D6FA25D6B26A} CORECLR_PROFILER_PATH=/usr/local/share/Pyroscope/Pyroscope.Profiler.Native.so LD_PRELOAD=/usr/local/share/Pyroscope/Pyroscope.Linux.ApiWrapper.x64.so |
COPY /*.so /usr/local/share/Pyroscope/ # buildkit |
USER 1654 |
WORKDIR /app |
EXPOSE map[8080/tcp:{}] |
EXPOSE map[8081/tcp:{}] |
WORKDIR /app |
COPY /app/publish . # buildkit |
ENTRYPOINT ["dotnet" "ChuckNorris.API.dll"] |