Contents tagged with Git
today I want to make post about most useful IMHO commands. Honestly speaking as usually I prefer to use tortoise git with it's gui. But quite often it happens that even the best gui tool can't give you necessary flexibility. For this purpose git commands come on your rescue. In this post I'll describe some basics of git, some most useful commands, so it's going to be one of my longest articles, and hopefully not the most useless.
In git you can have three levels of configuration:
--local - configuration of single repository
--global - configuration of user for your account ( for example user Administrator on your local machine )
--system - … more
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-x18.104.22.168.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-22.214.171.124-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