dockerfile-parser-rs icon indicating copy to clipboard operation
dockerfile-parser-rs copied to clipboard

Parse failure on FROM with sha hashes

Open timothyb89 opened this issue 5 years ago • 2 comments

e.g.

FROM quay.io/pusher/wave@sha256:59246319ba2d49fe6096ca80627b02e91faba97a83d9f0231fb08238c315b5e2

...fails with:

[DEBUG] ignoring Dockerfile.test, could not parse as dockerfile: could not parse Dockerfile:  --> 3:25
  |
3 | FROM quay.io/pusher/wave@sha256:59246319ba2d49fe6096ca80627b02e91faba97a83d9f0231fb08238c315b5e2␊
  |                         ^---
  |
  = expected EOI

timothyb89 avatar Oct 13 '20 22:10 timothyb89

Is still a problem? In my use case we use these a lot so this failing would be a complete blocker.

dpc avatar Dec 04 '20 21:12 dpc

Apologies for the slow response, however I've tentatively fixed this in https://github.com/HewlettPackard/dockerfile-parser-rs/pull/15. It may take a bit to merge and release since all the other reviewers are out for the holidays.

timothyb89 avatar Dec 30 '20 23:12 timothyb89