3 ms·
You don't have to have separate dockerfiles. If you use multistage builds, you can name the specific terminal stages and then invoke them with 'docker build -t
by chusk3 8y ago
You don't have to have separate dockerfiles. If you use multistage builds, you can name the specific terminal stages and then invoke them with 'docker build -t stagename', which will reuse the build cache as you'd expect. I've done this to export multiple app containers from a monorepo.
- krainboltgreene 8y agoYo, their example has multiple stages.
- rhizome 8y agoI think they're talking about intermediates, which wouldn't have to be rebuilt every time.
- deleted 8y ago[deleted]