Closed tsluyter closed 3 years ago
Before I continue shrinking other containers, let me know what you think about this new approach.
I'm changing the order of the Docker instructions, so we can keep the biggest amount of data in static unchanging layers. Hang on.
See my fix based on your work: https://github.com/blabla1337/skf-labs/commit/2f24eb3d1f49ede7707456de8d794b3b2dfdf0fc
You think we can shrink it more or this is what we get? :)
Whoa you got it down even further? That's pretty impressive! Of course, what we should be careful about is that we should keep as many of the layers between lab machines "shared", because that will also help space savings. If the first few layers of the lab containers are identical, but a bit larger when compared to different-but-smaller layers then the first is preferable.
Canceling this pull request, because you have implemented these changes through your own branches.
Based on the work from pull request 114, I've decided to shrink down a lot more containers. Each drops down from 330MB to about 71MB. That will save our students a lot of storage.