Skip to content

Commit

Permalink
QD-8148 Update mcr.microsoft.com/dotnet/sdk Docker tag to v9 (#226)
Browse files Browse the repository at this point in the history
* QD-8148 Update mcr.microsoft.com/dotnet/sdk Docker tag to v9

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Viktor <viktor@tiulp.in>
  • Loading branch information
renovate[bot] and tiulpin authored Feb 25, 2025
1 parent 9a26d96 commit 9f46dcd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions 2025.1/base/cdnet.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DOTNET_BASE_TAG="7.0-bookworm-slim"
ARG DOTNET_BASE_TAG="9.0-bookworm-slim"
FROM mcr.microsoft.com/dotnet/sdk:$DOTNET_BASE_TAG

ENV HOME="/root" \
Expand All @@ -11,7 +11,6 @@ ENV DOTNET_ROOT="/usr/share/dotnet"

# Not using the URL https://dot.net/v1/dotnet-install.sh because of https://github.com/dotnet/install-scripts/issues/276
ARG DOTNET_INSTALL_SH_REVISION="40434288dc5bbda41eafcbcbbc5c0fbbe028fb30"
ARG DOTNET_CHANNEL_A="9.0"
ARG DOTNET_CHANNEL_B="8.0"

# hadolint ignore=SC2174,DL3009
Expand All @@ -34,7 +33,6 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
echo "d9ede6126a6da49cd3509e5fc8236f79addf175696f29d01f38840fd84663514 /tmp/dotnet-install.sh" > /tmp/shasum && \
if [ "${DOTNET_INSTALL_SH_REVISION}" != "master" ]; then sha256sum --check --status /tmp/shasum; fi && \
chmod +x /tmp/dotnet-install.sh && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_A -i $DOTNET_ROOT && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_B -i $DOTNET_ROOT && \
chmod 777 -R $DOTNET_ROOT && \
chmod 777 -R $HOME && \
Expand Down
4 changes: 1 addition & 3 deletions 2025.1/base/dotnet.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG NODE_TAG="22-bookworm-slim"
ARG DOTNET_BASE_TAG="7.0-bookworm-slim"
ARG DOTNET_BASE_TAG="9.0-bookworm-slim"
FROM node:$NODE_TAG AS node_base
FROM mcr.microsoft.com/dotnet/sdk:$DOTNET_BASE_TAG

Expand All @@ -21,7 +21,6 @@ ENV RIDER_UNREAL_ROOT="/data/unrealEngine" DOTNET_ROOT="/usr/share/dotnet"

# Not using the URL https://dot.net/v1/dotnet-install.sh because of https://github.com/dotnet/install-scripts/issues/276
ARG DOTNET_INSTALL_SH_REVISION="40434288dc5bbda41eafcbcbbc5c0fbbe028fb30"
ARG DOTNET_CHANNEL_A="9.0"
ARG DOTNET_CHANNEL_B="8.0"

# hadolint ignore=SC2174,DL3009
Expand Down Expand Up @@ -49,7 +48,6 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
echo "d9ede6126a6da49cd3509e5fc8236f79addf175696f29d01f38840fd84663514 /tmp/dotnet-install.sh" > /tmp/shasum && \
if [ "${DOTNET_INSTALL_SH_REVISION}" != "master" ]; then sha256sum --check --status /tmp/shasum; fi && \
chmod +x /tmp/dotnet-install.sh && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_A -i $DOTNET_ROOT && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_B -i $DOTNET_ROOT && \
chmod 777 -R $DOTNET_ROOT

Expand Down
4 changes: 1 addition & 3 deletions next/base/cdnet.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DOTNET_BASE_TAG="7.0-bookworm-slim"
ARG DOTNET_BASE_TAG="9.0-bookworm-slim"
FROM mcr.microsoft.com/dotnet/sdk:$DOTNET_BASE_TAG

ENV HOME="/root" \
Expand All @@ -11,7 +11,6 @@ ENV DOTNET_ROOT="/usr/share/dotnet"

# Not using the URL https://dot.net/v1/dotnet-install.sh because of https://github.com/dotnet/install-scripts/issues/276
ARG DOTNET_INSTALL_SH_REVISION="40434288dc5bbda41eafcbcbbc5c0fbbe028fb30"
ARG DOTNET_CHANNEL_A="9.0"
ARG DOTNET_CHANNEL_B="8.0"

# hadolint ignore=SC2174,DL3009
Expand All @@ -34,7 +33,6 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
echo "d9ede6126a6da49cd3509e5fc8236f79addf175696f29d01f38840fd84663514 /tmp/dotnet-install.sh" > /tmp/shasum && \
if [ "${DOTNET_INSTALL_SH_REVISION}" != "master" ]; then sha256sum --check --status /tmp/shasum; fi && \
chmod +x /tmp/dotnet-install.sh && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_A -i $DOTNET_ROOT && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_B -i $DOTNET_ROOT && \
chmod 777 -R $DOTNET_ROOT && \
chmod 777 -R $HOME && \
Expand Down
4 changes: 1 addition & 3 deletions next/base/dotnet.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG NODE_TAG="22-bookworm-slim"
ARG DOTNET_BASE_TAG="7.0-bookworm-slim"
ARG DOTNET_BASE_TAG="9.0-bookworm-slim"
FROM node:$NODE_TAG AS node_base
FROM mcr.microsoft.com/dotnet/sdk:$DOTNET_BASE_TAG

Expand All @@ -21,7 +21,6 @@ ENV RIDER_UNREAL_ROOT="/data/unrealEngine" DOTNET_ROOT="/usr/share/dotnet"

# Not using the URL https://dot.net/v1/dotnet-install.sh because of https://github.com/dotnet/install-scripts/issues/276
ARG DOTNET_INSTALL_SH_REVISION="40434288dc5bbda41eafcbcbbc5c0fbbe028fb30"
ARG DOTNET_CHANNEL_A="9.0"
ARG DOTNET_CHANNEL_B="8.0"

# hadolint ignore=SC2174,DL3009
Expand Down Expand Up @@ -49,7 +48,6 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
echo "d9ede6126a6da49cd3509e5fc8236f79addf175696f29d01f38840fd84663514 /tmp/dotnet-install.sh" > /tmp/shasum && \
if [ "${DOTNET_INSTALL_SH_REVISION}" != "master" ]; then sha256sum --check --status /tmp/shasum; fi && \
chmod +x /tmp/dotnet-install.sh && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_A -i $DOTNET_ROOT && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_B -i $DOTNET_ROOT && \
chmod 777 -R $DOTNET_ROOT

Expand Down

0 comments on commit 9f46dcd

Please sign in to comment.