Created
April 2, 2019 23:00
-
-
Save mmisztal1980/dec871013cc838b878a234612f134493 to your computer and use it in GitHub Desktop.
.NET Core 3.0 Preview-3 Azure Pipelines Agent image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/azure-pipelines/vsts-agent:ubuntu-16.04-docker-18.06.1-ce | |
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash | |
# Ensure NodeJS & Powershell Core are installed | |
RUN apt-get update \ | |
&& apt-get install wget apt-transport-https -y \ | |
&& wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb \ | |
&& dpkg -i packages-microsoft-prod.deb \ | |
&& apt-get update \ | |
&& apt-get install -y powershell \ | |
&& apt-get install nodejs | |
ENV HOME=/root | |
ENV DOTNET_ROOT=$HOME/dotnet | |
ENV PATH=$PATH:$HOME/dotnet | |
RUN wget -q https://download.visualstudio.microsoft.com/download/pr/35c9c95a-535e-4f00-ace0-4e1686e33c6e/b9787e68747a7e8a2cf8cc530f4b2f88/dotnet-sdk-3.0.100-preview3-010431-linux-x64.tar.gz \ | |
&& mkdir -p $HOME/dotnet \ | |
&& tar zxf dotnet-sdk-3.0.100-preview3-010431-linux-x64.tar.gz -C $HOME/dotnet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment