autolab / autolab-oneclick

Apache License 2.0
6 stars 17 forks source link

Docker-Compose Build Web is wasteful #6

Open devanshk opened 7 years ago

devanshk commented 7 years ago

This is an improvement suggested by jboles@cmu.edu.

When you make a small change to the config files, you currently need to fully rebuild the Autolab web docker image - reloading 848MB rather than the few MB of data that are actually different. It would be better to create an intermediate docker container that has all the apt packages and ruby gems, then layer on top of that the Autolab files. This way you’d only have to rebuild the uppermost layer when making small changes, such as config files, etc.