codefirst-dronesonarplugin-dotnet9 (latest)

Published 2 months ago by marc.chevaldonne

Installation

docker pull codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet9:latest
sha256:550ae75c1626770c8932185546287f6f352bc95ca6311a10c4fa9b64158c9870

Image Layers

ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit
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++ # buildkit
RUN /bin/sh -c addgroup --gid=$APP_UID app && adduser --uid=$APP_UID --ingroup=app --disabled-password app # buildkit
ENV DOTNET_VERSION=9.0.2
RUN /bin/sh -c wget -O dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-musl-x64.tar.gz && dotnet_sha512='df116ef9b7f6b717b7c7f057e826c9e1f1ed0d743fa6b26e9229fc36e500ab834d19ae1ab55ebc28b1c9b8cb4a7f41c62edd08c2dd2cdcb6e912defea2810ffb' && 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=9.0.2
RUN /bin/sh -c wget -O aspnetcore.tar.gz https://builds.dotnet.microsoft.com/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-x64.tar.gz && aspnetcore_sha512='ff070ebfabb1fa776df69ce6fb1e6990069ff6e4b795dd0ea0ee028dcceaa278500f695c9ba6b6c839310ee0d9aaca398e079ebd9081ec36c1e2d5a63c5bc109' && 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
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=9.0.200 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Alpine-3.21
RUN /bin/sh -c apk add --upgrade --no-cache curl git icu-data-full icu-libs libatomic tzdata # buildkit
RUN /bin/sh -c wget -O dotnet.tar.gz https://builds.dotnet.microsoft.com/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-musl-x64.tar.gz && dotnet_sha512='96b032d5209a838e97522528963e2e9589f8384dff4292e567030b0da0849104a57cd6d0f05e5fb7e7787730f47c6112a014df17c76010864f55c110a971f216' && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - && mkdir -p /usr/share/dotnet && tar -oxzf dotnet.tar.gz -C /usr/share/dotnet ./packs ./sdk ./sdk-manifests ./templates ./LICENSE.txt ./ThirdPartyNotices.txt && rm dotnet.tar.gz && dotnet help # buildkit
RUN /bin/sh -c powershell_version=7.5.0 && wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg && powershell_sha512='89dcede870db724ec96e0ddc1386b687c25022fdcecf76dced2f6aec34586a91600df59c2f99c0bd056fb91ea6dfae8e6c372639f37b3f7e5b1d49c41fe77840' && echo "$powershell_sha512 PowerShell.Linux.Alpine.$powershell_version.nupkg" | sha512sum -c - && mkdir -p /usr/share/powershell && dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.Alpine && dotnet nuget locals all --clear && rm PowerShell.Linux.Alpine.$powershell_version.nupkg && ln -s /usr/share/powershell/pwsh /usr/bin/pwsh && chmod 755 /usr/share/powershell/pwsh && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm && apk add --no-cache ncurses-terminfo-base # buildkit
COPY file:55401265db277d818b80572062eb4b14323691e5ae7023335414225a4b5f5ab9 in /bin/
WORKDIR /bin
/bin/sh -c apk update && apk add openjdk17-jre bash nodejs && rm -rf /tmp/* /var/cache/apk/*
/bin/sh -c ls /usr/lib/jvm/
/bin/sh -c dotnet tool install --global dotnet-sonarscanner
/bin/sh -c dotnet tool install --global dotnet-reportgenerator-globaltool
ENV JAVA_HOME=/usr/lib/jvm/default-jvm/
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/default-jvm//bin
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/default-jvm//bin:/root/.dotnet/tools
ENTRYPOINT ["/bin/sh" "-c" "/bin/drone-sonar"]
LABEL org.opencontainers.image.created=2025-02-19T14:21:53Z
LABEL org.opencontainers.image.revision=2eb910976157bd8261780ac39df7f393c4616763
LABEL org.opencontainers.image.source=https://codefirst.iut.uca.fr/git/code_first_Images/codefirst-dronesonarplugin-dotnet9.git
LABEL org.opencontainers.image.url=https://codefirst.iut.uca.fr/git/code_first_Images/codefirst-dronesonarplugin-dotnet9

Labels

Key Value
org.opencontainers.image.created 2025-02-19T14:21:53Z
org.opencontainers.image.revision 2eb910976157bd8261780ac39df7f393c4616763
org.opencontainers.image.source https://codefirst.iut.uca.fr/git/code_first_Images/codefirst-dronesonarplugin-dotnet9.git
org.opencontainers.image.url https://codefirst.iut.uca.fr/git/code_first_Images/codefirst-dronesonarplugin-dotnet9
Details
Container
2 months ago
1
OCI / Docker
linux/amd64
347 MiB
Versions (1) View all
latest on 2025-02-19