Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2018-10-31 17:22:34 -0400
committerJeff Johnston2018-10-31 18:16:23 -0400
commitc7f40b7cddda893851853df76dcbae2d765a8220 (patch)
treebbc59e485b8ca04cc5733a8310191b57abcb06bc
parent91f06a079fa2035a5866c14ab65a55a7541c43f8 (diff)
downloadorg.eclipse.linuxtools-c7f40b7cddda893851853df76dcbae2d765a8220.tar.gz
org.eclipse.linuxtools-c7f40b7cddda893851853df76dcbae2d765a8220.tar.xz
org.eclipse.linuxtools-c7f40b7cddda893851853df76dcbae2d765a8220.zip
Bug 528785 - Unknown instruction: HEALTHCHECK
- commit from jochem@vandieten.net (Jochem van Dieten) - add new HEALTHCHECK.html file - update instructions.txt Change-Id: I1a61ccafa7711cf5245c7ba40247a3021883aac7 Reviewed-on: https://git.eclipse.org/r/131778 Tested-by: CI Bot Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html7
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt1
2 files changed, 8 insertions, 0 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html b/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html
new file mode 100644
index 0000000000..1efe13f2cc
--- /dev/null
+++ b/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html
@@ -0,0 +1,7 @@
+<p>
+Specify the <b>HEALTHCHECK</b> of the Docker image.
+</p>
+<br/>
+<p>
+HEALTHCHECK --timeout=3s CMD curl -f http://localhost/ || exit 1
+</p>
diff --git a/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt b/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
index bc039a8039..98ae16e535 100644
--- a/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
+++ b/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
@@ -6,6 +6,7 @@ ENTRYPOINT
ENV
EXPOSE
FROM
+HEALTHCHECK
LABEL
MAINTAINER
ONBUILD

Back to the top