language-docker icon indicating copy to clipboard operation
language-docker copied to clipboard

Haskell Dockerfile parser, pretty-printer and EDSL

Results 9 language-docker issues
Sort by recently updated
recently updated
newest added

RUN --mount=type=cache [understands some flags](https://docs.docker.com/reference/dockerfile/#run---mounttypecache) the parser doesn't recognize yet: ``` ARG debian_version=12 FROM debian:bookworm-slim RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/var/cache/apt,type=cache \ ``` Errors with: Dockerfile:3:13 unexpected "id=debian:${" expecting "from=", "readonly", "readonly=", "readwrite", "readwrite=",...

Hi there, I have a similar problem to #57 with the `prettyPrint` for the quoted string. It is about `prettyPrint` automatically move the parts after token `&&` to a new...

when having a FROM line like: `FROM myregistry:port/imagename:tag`, there is an error `unexpected ':' expecting '@', a new line followed by the next instruction, at least one space, or the...

- Encode the specific syntax type of key/value pair in the AST. - Move Tests for `LABEL` and `ENV` instructions to their own files Docker currently supports two forms for...

First of all, thanks for this helpful library. The Dockerfile ```dockerfile FROM alpine RUN echo 'a b' ``` is pretty printed by `prettyPrint` as ```dockerfile FROM alpine RUN echo 'a...

Currently Hadolint gives an error when using `--start-interval` in HEALTCHECK, which has been added since v25.0: ``` invalid flag: --start-interval ``` So please add `--start-interval` to the list of allowed...

https://docs.docker.com/reference/dockerfile/#copy Example dockerfile: ``` FROM scratch COPY --exclude=README.md . /app ``` Example error: ``` dockerfiles/Dockerfile:2:6 invalid flag: --exclude ```

When hadolint (2.12.1) parses a heredoc RUN or COPY command, it checks the character that follows the command (i.e., right after the second instance of the identifier/delimiter/keyword), unless it's at...