Update PowerShell installation to Ubuntu 24.04
This commit is contained in:
@@ -24,7 +24,7 @@ RUN wget -q https://dot.net/v1/dotnet-install.sh \
|
|||||||
|
|
||||||
# 3. Install PowerShell (Using the Ubuntu 22.04 repo)
|
# 3. Install PowerShell (Using the Ubuntu 22.04 repo)
|
||||||
# We add the repo manually to ensure it's correct
|
# We add the repo manually to ensure it's correct
|
||||||
RUN wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb \
|
RUN wget -q https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb \
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
&& dpkg -i packages-microsoft-prod.deb \
|
||||||
&& rm packages-microsoft-prod.deb \
|
&& rm packages-microsoft-prod.deb \
|
||||||
# Force update again to ensure the new repo is picked up
|
# Force update again to ensure the new repo is picked up
|
||||||
|
|||||||
Reference in New Issue
Block a user