diff --git a/ubuntu/standard/5.0/Dockerfile b/ubuntu/standard/5.0/Dockerfile index eef4a90e..bcf28b0c 100644 --- a/ubuntu/standard/5.0/Dockerfile +++ b/ubuntu/standard/5.0/Dockerfile @@ -161,6 +161,7 @@ FROM tools AS runtimes ENV DOTNET_31_SDK_VERSION="3.1.404" ENV DOTNET_5_SDK_VERSION="5.0.202" +ENV DOTNET_6_SDK_VERSION="6.0.100" ENV DOTNET_ROOT="/root/.dotnet" # Add .NET Core 3.1 Global Tools install folder to PATH @@ -173,6 +174,11 @@ RUN /usr/local/bin/dotnet-install.sh -v $DOTNET_5_SDK_VERSION \ && dotnet --list-sdks \ && rm -rf /tmp/* +# Add .NET Core 6 Global Tools install folder to PATH +RUN /usr/local/bin/dotnet-install.sh -v $DOTNET_6_SDK_VERSION \ + && dotnet --list-sdks \ + && rm -rf /tmp/* + # Trigger the population of the local package cache ENV NUGET_XMLDOC_MODE skip RUN set -ex \ diff --git a/ubuntu/standard/5.0/runtimes.yml b/ubuntu/standard/5.0/runtimes.yml index 96c50655..8d792143 100644 --- a/ubuntu/standard/5.0/runtimes.yml +++ b/ubuntu/standard/5.0/runtimes.yml @@ -50,7 +50,7 @@ runtimes: 1.16: commands: - echo "Installing Go version 1.16 ..." - - goenv global $GOLANG_16_VERSION + - goenv global $GOLANG_16_VERSION python: versions: 3.7: @@ -109,3 +109,7 @@ runtimes: commands: - echo "Installing .NET version 5.0 ..." - test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $DOTNET_5_SDK_VERSION + 6.0: + commands: + - echo "Installing .NET version 6.0 ..." + - test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $DOTNET_6_SDK_VERSION