From ced985de09e7396ca123f6d77fa5584849f2367a Mon Sep 17 00:00:00 2001 From: Scott Schaab Date: Mon, 22 Feb 2021 09:53:24 -0800 Subject: [PATCH] Updating UbuntuNetCoreKeyring dockerfile to use net core 5 (#17980) * Updating UbuntuNetCoreKeyring dockerfile to use net core 5 * Update ubuntu netcore keyring dockerfile to use net 5 * adding python to installed packages Co-authored-by: Ben Broderick Phillips --- eng/containers/UbuntuNetCoreKeyring/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eng/containers/UbuntuNetCoreKeyring/Dockerfile b/eng/containers/UbuntuNetCoreKeyring/Dockerfile index 9f09f0bcb2b7..9e6eba7e9602 100644 --- a/eng/containers/UbuntuNetCoreKeyring/Dockerfile +++ b/eng/containers/UbuntuNetCoreKeyring/Dockerfile @@ -1,23 +1,24 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0-focal AS build ENV \ NO_AT_BRIDGE=1 \ DOCKER_CONTAINER_NAME="ubuntu_netcore_keyring" \ PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \ - POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetCoreSDK-Ubuntu-18.04 + POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetCoreSDK-Ubuntu-20.04 # Install GNOME keyring RUN apt-get update \ && apt-get install -y \ libsecret-1-dev \ dbus-x11 \ - gnome-keyring + gnome-keyring \ + python # Install PowerShell && .net core runtime 2.1 -RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb \ +RUN wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb \ && dpkg -i packages-microsoft-prod.deb \ && apt-get update \ && apt-get install -y powershell \ && pwsh --version \ && apt-get install -y dotnet-runtime-2.1 \ - && dotnet --list-runtimes \ No newline at end of file + && dotnet --list-runtimes