Skip to content

Instantly share code, notes, and snippets.

View TheCloudScout's full-sized avatar

Koos Goossens TheCloudScout

View GitHub Profile
@TheCloudScout
TheCloudScout / dockerfile
Last active November 4, 2019 20:02
adsha-ubuntulinux
# escape=`
FROM mcr.microsoft.com/powershell:6.2.0-ubuntu-18.04
# Set default directory to C:\Agent
WORKDIR /agent
# Set PowerShell as default shell
SHELL [ "pwsh", "-NoProfile", "-Command" ]
@TheCloudScout
TheCloudScout / dockerfile
Created November 4, 2019 19:34
adsha-windowsservercore-ltsc2019-dotnet-4.8
# escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2019
# Install .NET 4.8
RUN curl -fSLo dotnet-framework-installer.exe https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe `
&& .\dotnet-framework-installer.exe /q `
&& del .\dotnet-framework-installer.exe `
&& powershell Remove-Item -Force -Recurse ${Env:TEMP}\*