Skip to content

Commit ced985d

Browse files
schaabsbenbp
andauthored
Updating UbuntuNetCoreKeyring dockerfile to use net core 5 (Azure#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 <bebroder@microsoft.com>
1 parent 7c62728 commit ced985d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0-focal AS build
22

33
ENV \
44
NO_AT_BRIDGE=1 \
55
DOCKER_CONTAINER_NAME="ubuntu_netcore_keyring" \
66
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
7-
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetCoreSDK-Ubuntu-18.04
7+
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetCoreSDK-Ubuntu-20.04
88

99
# Install GNOME keyring
1010
RUN apt-get update \
1111
&& apt-get install -y \
1212
libsecret-1-dev \
1313
dbus-x11 \
14-
gnome-keyring
14+
gnome-keyring \
15+
python
1516

1617
# Install PowerShell && .net core runtime 2.1
17-
RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb \
18+
RUN wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb \
1819
&& dpkg -i packages-microsoft-prod.deb \
1920
&& apt-get update \
2021
&& apt-get install -y powershell \
2122
&& pwsh --version \
2223
&& apt-get install -y dotnet-runtime-2.1 \
23-
&& dotnet --list-runtimes
24+
&& dotnet --list-runtimes

0 commit comments

Comments
 (0)