You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker build .
Sending build context to Docker daemon 38.15MB
Error response from daemon: Dockerfile parse error line 2: Unknown flag: x
$ docker run -v `pwd`/Dockerfile:/Dockerfile rcjsuen/dockerfile-utils lint /Dockerfile
$
The error is a bit difficult to mirror given that RUN instructions have various experimental flags in BuildKit at the moment. We could at least flag this instruction as missing an argument as it does.
The text was updated successfully, but these errors were encountered:
The error is a bit difficult to mirror given that
RUN
instructions have various experimental flags in BuildKit at the moment. We could at least flag this instruction as missing an argument as it does.The text was updated successfully, but these errors were encountered: