Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2018-10-31 17:22:34 -0400
committerJeff Johnston2018-10-31 19:12:29 -0400
commit2861b5d6f488c190a979f609f7c0ac04e58188d5 (patch)
tree493a66ba980c951a85b05efaef8bed7a62a87a88
parent159aee384d5b58bfb7c9d89c69f600753b8bbbff (diff)
downloadorg.eclipse.linuxtools-2861b5d6f488c190a979f609f7c0ac04e58188d5.tar.gz
org.eclipse.linuxtools-2861b5d6f488c190a979f609f7c0ac04e58188d5.tar.xz
org.eclipse.linuxtools-2861b5d6f488c190a979f609f7c0ac04e58188d5.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> (cherry picked from commit c7f40b7cddda893851853df76dcbae2d765a8220) Reviewed-on: https://git.eclipse.org/r/131781
-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