Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2019-01-30 15:41:58 +0000
committerAlexander Kurtakov2019-02-01 12:46:35 +0000
commitd524c74ef34c26747922afe30c576e784b27b34b (patch)
tree8d3fff87eaa00f65eba566a113ea1542dfcc005d
parent0aa10275101c0e84217afcdf1b8f393e12ed6cfd (diff)
downloadorg.eclipse.linuxtools-d524c74ef34c26747922afe30c576e784b27b34b.tar.gz
org.eclipse.linuxtools-d524c74ef34c26747922afe30c576e784b27b34b.tar.xz
org.eclipse.linuxtools-d524c74ef34c26747922afe30c576e784b27b34b.zip
Bug 543964 - Dockerfile editor flags SHELL as unknown
- update Dockerfile editor instructions.txt to include SHELL - add new SHELL.html to Dockerfile editor additional-info Change-Id: I9b43a9c4e7ec27125a37cc3f167184dac90909e0 Reviewed-on: https://git.eclipse.org/r/136025 Tested-by: CI Bot Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/SHELL.html9
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt1
2 files changed, 10 insertions, 0 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/SHELL.html b/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/SHELL.html
new file mode 100644
index 0000000000..eb4eab17e3
--- /dev/null
+++ b/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/SHELL.html
@@ -0,0 +1,9 @@
+<p>
+<b>SHELL</b> allows overriding the default shell used for the shell form of commands. The JSON format is required: ["executable", "parameters"]. On Linux, the default is: ["/bin/sh", "-c"] whereas on Windows it is ["cmd", "/S", "/C"].
+</p>
+<br/>
+<p>
+<pre>
+SHELL ["powershell", "-command"]
+</pre>
+</p>
diff --git a/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt b/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
index 98ae16e535..8c0ffccc8f 100644
--- a/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
+++ b/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
@@ -11,6 +11,7 @@ LABEL
MAINTAINER
ONBUILD
RUN
+SHELL
USER
VOLUME
WORKDIR

Back to the top