We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Docker Engine 20.10, ARG instructions can now accept multiple arguments.
ARG
FROM scratch ARG a=b b
$ docker build . Sending build context to Docker daemon 47MB Step 1/2 : FROM scratch ---> Step 2/2 : ARG a=b b ---> Running in e60e9e9855ec Removing intermediate container e60e9e9855ec ---> c6a7360077c7 Successfully built c6a7360077c7
This code should now print out 0 instead of 1.
0
1
const dockerfileUtils = require("dockerfile-utils"); const results = dockerfileUtils.validate("FROM scratch\nARG a=b b"); console.log(results.length);
The text was updated successfully, but these errors were encountered:
7ff0558
rcjsuen
No branches or pull requests
In Docker Engine 20.10,
ARG
instructions can now accept multiple arguments.This code should now print out
0
instead of1
.The text was updated successfully, but these errors were encountered: