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
The following two Dockerfiles will not build.
FROM scratch HEALTHCHECK --interval=10 --interval=10 CMD ls
$ docker build . Sending build context to Docker daemon 86.15MB Step 1/2 : FROM scratch ---> Step 2/2 : HEALTHCHECK --interval=10 --interval=10 CMD ls Duplicate flag specified: interval
FROM scratch AS setup COPY --from=setup --from=setup . .
$ docker build . Sending build context to Docker daemon 59.6MB Sending build context to Docker daemon 86.15MB Step 1/2 : FROM scratch AS setup ---> Step 2/2 : COPY --from=setup --from=setup . . Duplicate flag specified: from
The following Dockerfile will build as the engine does not validate flags for a HEALTHCHECK NONE instruction.
HEALTHCHECK NONE
FROM scratch HEALTHCHECK --interval=10 --interval=10 NONE
$ docker build . Sending build context to Docker daemon 86.15MB Step 1/2 : FROM scratch ---> Step 2/2 : HEALTHCHECK --interval=10 --interval=10 NONE ---> Running in f3e084086096 ---> f5df294db6b4 Removing intermediate container f3e084086096 Successfully built f5df294db6b4
The text was updated successfully, but these errors were encountered:
398a85d
rcjsuen
No branches or pull requests
The following two Dockerfiles will not build.
The following Dockerfile will build as the engine does not validate flags for a
HEALTHCHECK NONE
instruction.The text was updated successfully, but these errors were encountered: