Better workflow - release vs debug, caching, ...
zrzka opened this issue · 1 comments
zrzka commented
I think that this example should be updated, because Rust popularity is growing. I'd add following things.
Building
- dependencies caching (see Dockerfile.template)
- allow to select
debug
vs--release
Sample scripts
local-push.sh
- generates
Dockerfile
fromDockerfile.template
- pushes
debug
by default
- generates
Final image
- do not include source code
- do not include build tools
- just final binary (+ assets, ...)
- again, see Dockerfile.template
To sum it up, show users the complete workflow. Development -> production.