Upgrade docker for codegen (#1352)
This commit is contained in:
Родитель
b87b8b9d96
Коммит
4f7c30e0be
|
@ -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/* \
|
||||
|
|
Загрузка…
Ссылка в новой задаче