diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 522a6c2547..122b4664d8 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -1,14 +1,13 @@ -FROM mcr.microsoft.com/powershell:lts-7.2-ubuntu-18.04 +FROM mcr.microsoft.com/powershell:lts-7.2-ubuntu-22.04 # Install dependencies and clean up RUN apt-get update \ && apt-get install -y curl \ - && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \ + && apt-get install -y dotnet-sdk-8.0 \ + && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \ && . /root/.bashrc \ - && nvm install 14.15.5 \ - && npm config set unsafe-perm true \ + && nvm install 18.20.4 \ && npm install -g autorest \ - && npm install -g dotnet-sdk-2.1 \ && apt-get -o Acquire::Check-Valid-Until=false install -y \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \