Skip to content

Commit ce696f3

Browse files
committed
FIX build does not install net 9 properly
1 parent a58d122 commit ce696f3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

build/docker/ubuntu-focal/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ RUN apt-get install -y --no-install-recommends \
137137
dart=$DART_VERSION
138138
ENV PATH /usr/lib/dart/bin:$PATH
139139

140+
# Because Ubuntu 20.04 reaches end of life in April [actually May] 2025, Microsoft has decided not to support .NET 9 on Ubuntu 20.04.
140141
RUN apt-get install -y --no-install-recommends \
141142
`# dotnet core dependencies` \
142143
dotnet-sdk-8.0 \

build/docker/ubuntu-jammy/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &
5151
curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > \
5252
/etc/apt/sources.list.d/dart_stable.list
5353

54-
# dotnet (netcore)
55-
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg && \
56-
wget -q -O /etc/apt/sources.list.d/microsoft-prod.list https://packages.microsoft.com/config/ubuntu/22.04/prod.list && \
57-
chown root:root /etc/apt/trusted.gpg.d/microsoft.gpg && \
58-
chown root:root /etc/apt/sources.list.d/microsoft-prod.list
59-
6054
# node.js
6155
RUN curl -sL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
6256
echo "deb https://deb.nodesource.com/node_16.x focal main" | tee /etc/apt/sources.list.d/nodesource.list

0 commit comments

Comments
 (0)