-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fromlatest.io
still errors on having ARG
before FROM
#135
Comments
@hansbogert This should already be working, see #105 |
strange, the online variant still shows this behaviour |
My hunch would be, that the online variant is not using the newest version. It doesn't have the version listed anywhere, so hard to check |
Could you reword the title to reflect that the issue is with the online variant? :) |
ARG
before the first FROM
fromlatest.io
still errors on having ARG
before FROM
This still seems to be happening in https://www.fromlatest.io/#/ ARG is valid syntax before FROM as of moby/moby#31352 |
The online version seems to be updated. At least the following examples works. Can we close this issue?
|
@SimonHeimberg seems to work correctly indeed. |
Currently, the linter gives warning of 'First Command Must Be FROM (Possible Bug)'. However, I think there is at least one exception:
In order to have access to build arguments in multiple stages, said build arguments should be declared in the outer scope of the Dockerfile, before any
FROM
directivesThe text was updated successfully, but these errors were encountered: