Contents tagged with Git
today I want to write few rakes of Dockerfile.
First of all I want to document how to install dot net sdk 1.1. It isn't installable by chocolatey, so I had to use following workaround:
RUN Invoke-WebRequest 'https://download.microsoft.com/download/1/1/4/114223DE-0AD6-4B8A-A8FB-164E5862AF6E/dotnet-dev-win-x22.214.171.124.exe' -OutFile dotnetDev.exeRUN .\dotnetDev.exe /Silent /Full
Another issue, that I faced was installing of Git, or for containers I prefer MinGit. It can be achieved in the following way:
RUN Invoke-WebRequest 'https://github.com/git-for-windows/git/releases/download/v2.12.2.windows.2/MinGit-126.96.36.199-64-bit.zip' -OutFile MinGit.zip
RUN Expand-Archive c:\ … more
today I want to document wonderfull tool. Chocolatey. It allows you to install quite big list of programs without need to search, download and setup them.
Before chocolatey will be able to execute anything at your pc, following command needs to be executed at your powershell:
and this one:
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
As soon as chocolatey will be installed at your pc, you can execute following ps1 file:
choco install pdfcreator -y --allow-empty-checksumschoco install firefox -y --allow-empty-checksumschoco install jre8 -y --allow-empty-checksumschoco install 7zip. … more