I’m interested in the ability to tag an intermediate build stage, and looking for suggestions.
I have 3 stages in my build:
- FROM node, Install prod node_modules
- FROM stage 1, install dev node modules including grunt/bower/etc and generate my static js and html files.
- FROM stage 1, copy the output from stage 2 and now I have a slim output container
However for development I prefer to run grunt inside a container - the intermediate grunt container is exactly what I need to execute grunt watch, except it is not given a tag and so would only be available by referencing the hash.