Tips and code to solve specific problems. No fluff. Easy to copy and paste.

NameDescriptionTagsPublished
Smaller images using multi-stage builds in DockerProduce smaller docker images by leveraging multi-stage builds in DockerfilesdockerApr 2021
Install development tools in alpineFix building gem native extensions by installing build-base in alpine docker imagedocker rubyApr 2021
Download files from URLsUsing the ADD instruction to download files from URL in a dockerfiledockerApr 2021
Dynamic FROM base imagesGenerate docker images that only differ on their base imagedockerMar 2021
Case sensitive changes in gitAllow git to detect a file rename as a change to be committedgitMar 2021
Unprotected private key fileSolve unprotected private ssh key file error due to permissionssshMar 2021

Produce smaller docker images by leveraging multi-stage builds in Dockerfiles

Fix building gem native extensions by installing build-base in alpine docker image

Using the ADD instruction to download files from URL in a dockerfile

Generate docker images that only differ on their base image

Allow git to detect a file rename as a change to be committed

Solve unprotected private ssh key file error due to permissions