dockerfile-parser-rs
dockerfile-parser-rs copied to clipboard
Support image digests in FROM instructions
This is a re-up of https://github.com/HewlettPackard/dockerfile-parser-rs/pull/15, but updates the test code to be compatible with current APIs and also includes some additional validation of the digest part (with tests).
Sorry my IDE introduced a some indenting changes here, which artificially blows up the diff. I'll make sure to remove those before merge.
It'll be pretty useful to have this PR or #15 merged to unblock https://github.com/dprint/dprint-plugin-dockerfile/issues/9.
ping @jonmcquillan