Skip to content

Latest commit

 

History

History

01-additional-packages

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Installation of additional packages

Installation of additional packages for the operating system can slow down the image build process radically.

There are also pitfalls how the package updates affect the image predictability and file system layers.

Build images with

$ docker build -f Dockerfile.bad -t packages/bad .

$ docker build -f Dockerfile.good -t packages/good .

and then run containers

$ docker run --rm packages/bad

$ docker run --rm packages/good

Reference

https://docs.docker.com/engine/reference/builder/