Skip to content

Conversation

@CybotTM
Copy link
Contributor

@CybotTM CybotTM commented Dec 4, 2015

Hi,

this patch reduces final image size from 99 MiB to 57 MiB

nijel added a commit that referenced this pull request Dec 4, 2015
concatenate Dockerfile commands - reduces final images size
@nijel nijel merged commit ae9b76c into phpmyadmin:master Dec 4, 2015
@nijel
Copy link
Contributor

nijel commented Dec 4, 2015

Merged thanks. Can you please point me to some docs, why this makes the difference?

@CybotTM
Copy link
Contributor Author

CybotTM commented Dec 4, 2015

The reason is the layered file system and how docker builds/processes the Dockerfile.
I'm not sure if their is documentation that describes this effect exactly - but if you understand the layered FS and how docker builds the images you will come to this conclusion by yourself.
It's just a current best practice.

@nijel
Copy link
Contributor

nijel commented Dec 4, 2015

Thanks for the links!

@lem9
Copy link

lem9 commented Dec 4, 2015

@CybotTM Hi Sebastian, happy to see you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants