Skip to content

Commit

Permalink
Upgrade docker for codegen (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolauli authored Jul 9, 2024
1 parent b87b8b9 commit 4f7c30e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/* \
Expand Down

0 comments on commit 4f7c30e

Please sign in to comment.