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
HEALTHCHECK
This feature is documented but not released. It is supposedly targeted for 25.0.0 according to docker/cli#4486.
FROM alpine HEALTHCHECK --start-interval=5s CMD ls
docker build . [+] Building 0.1s (2/2) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 88B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s Dockerfile:2 -------------------- 1 | FROM alpine 2 | >>> HEALTHCHECK --start-interval=5s CMD ls 3 | -------------------- ERROR: failed to solve: dockerfile parse error on line 2: unknown flag: start-interval
The feature can be enabled with syntax=docker/dockerfile:1. So we should still support it.
syntax=docker/dockerfile:1
#syntax=docker/dockerfile:1 FROM alpine HEALTHCHECK --start-interval=5s CMD ls
$ dockerfile-utils lint Line: 3 HEALTHCHECK --start-interval=5s CMD ls ^^^^^^^^^^^^^^^^ Error: Unknown flag: start-interval
The text was updated successfully, but these errors were encountered:
a7a54c1
Fix #115 Add missed CHANGELOG.md update
29fad70
Signed-off-by: Remy Suen <[email protected]>
--start-interval
rcjsuen
No branches or pull requests
This feature is documented but not released. It is supposedly targeted for 25.0.0 according to docker/cli#4486.
The feature can be enabled with
syntax=docker/dockerfile:1
. So we should still support it.The text was updated successfully, but these errors were encountered: