Contents tagged with Git

  • How to add to docker image dot net sdk and other useful staff

    Hello everybody,

    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 '' -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 '' -OutFile

    RUN Expand-Archive c:\ … more

  • Chocolatey usage for installing programs

    Hello everybody,

    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:

    Set-ExecutionPolicy Unrestricted 

    and this one:

    iex ((New-Object System.Net.WebClient).DownloadString(''))

    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