AnsibleCheck / ansiblecheck

One Stop Solution For Checking Your Ansible Roles and Playbooks
MIT License
55 stars 6 forks source link

WIP: Convert source installation build to MultiStage #30

Closed lcaflc closed 6 years ago

lcaflc commented 6 years ago

This Feature allow to greatly reduce the size of the docker images generated with mutlistage build. This is very efficient for source build images (debian ones).

image after before
wheezy 179MB 420MB
jessie 219MB 355MB
stretch 201MB 473MB

Thanks docker (https://docs.docker.com/engine/userguide/eng-image/multistage-build/)

PS: need docker-ce >= 17.06, so I've update it in .travis.yml to make tests OK.

ChristopherDavenport commented 6 years ago

So if you have an older version of Docker can you still use these from AnsibleCheck/..., just confirming that we won't break existing travis implementations depending on it.