beijaflor-io / haskell-language-dockerfile

Haskell Dockerfile linter, parser, pretty-printer and EDSL, forked from https://github.com/lukasmartinelli/hadolint.
Other
19 stars 3 forks source link

Implement `cache` directive #5

Open yamadapc opened 8 years ago

yamadapc commented 8 years ago

The exact semantics need to be thought of.

My idea is to add a directive:

It'll just keep track of the path on existing builds and mount it as a volume on subsequent builds. We can also offer to have the path mounted on the host from the start, and use that.