Last active
July 3, 2019 00:27
-
-
Save SeriaWei/69a00136bb83716ab567e93a32eceecf to your computer and use it in GitHub Desktop.
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 jenkins/jenkins:lts | |
USER root | |
WORKDIR /dotnet | |
RUN wget -O dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/72ce4d40-9063-4a2e-a962-0bf2574f75d1/5463bb92cff4f9c76935838d1efbc757/dotnet-sdk-3.0.100-preview6-012264-linux-x64.tar.gz | |
RUN tar zxf dotnet.tar.gz -C ./ | |
ENV PATH="${PATH}:/dotnet:/var/jenkins_home/.dotnet/tools" | |
ENV DOTNET_ROOT="/dotnet" | |
RUN rm -rf dotnet.tar.gz | |
RUN apt update -y | |
RUN apt install icu-devtools vim zip unzip -y | |
RUN usermod -a -G root jenkins | |
USER jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment