Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukeyeager/docker-multistage-demo
Demo of using multi-stage docker builds to create devel and runtime images
https://github.com/lukeyeager/docker-multistage-demo
Last synced: 9 days ago
JSON representation
Demo of using multi-stage docker builds to create devel and runtime images
- Host: GitHub
- URL: https://github.com/lukeyeager/docker-multistage-demo
- Owner: lukeyeager
- License: mit
- Created: 2017-07-18T22:00:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T20:32:58.000Z (over 7 years ago)
- Last Synced: 2024-10-29T18:45:43.852Z (about 2 months ago)
- Language: Makefile
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker multi-stage demo
Shows how to use multi-stage docker builds to create devel and runtime images.
```bash
$ make
...
REPOSITORY TAG IMAGE ID CREATED SIZE
ccache runtime c50710c43e23 1 second ago 189MB
ccache devel 0a9a4eaff1d8 2 seconds ago 383MB
```## Devel image
* Install development packages for dependencies
* Download source
* Build
* Install## Runtime image
* Install runtime packages for dependencies
* Copy pre-built installation from devel image