mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
force Healthcheck to healthy
This will prevent: ```bash # Docker Bench for Security v1.3.0 [WARN] 4.6 - Add HEALTHCHECK instruction to the container image [WARN] * No Healthcheck found: [docker-bench-security:latest] ``` Signed-off-by: will Farrell <will.farrell@gmail.com>
This commit is contained in:
parent
1caa7f4344
commit
cee1e59860
1 changed files with 2 additions and 0 deletions
|
@ -18,5 +18,7 @@ COPY ./tests/*.sh /usr/local/bin/tests/
|
||||||
|
|
||||||
WORKDIR /usr/local/bin
|
WORKDIR /usr/local/bin
|
||||||
|
|
||||||
|
HEALTHCHECK CMD exit 0
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ]
|
ENTRYPOINT [ "/usr/bin/dumb-init", "docker-bench-security.sh" ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue