summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-11 14:54:40 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-11 14:54:40 +0530
commitbcc754b16ceb6fe2ca4c4ea4c1f4f24662d440a3 (patch)
tree629d0183233e094366ce133432d9d744c304a845
parentc010b36072b610ec1815e92c39907e5ed1f822b6 (diff)
Docker file env rearrange to one execution
Issue-ID: CLI-81 Change-Id: Ic476745deba6eccfbf0e5cc671fb4aeece0cd17e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--deployment/docker/src/main/docker/Dockerfile13
1 files changed, 6 insertions, 7 deletions
diff --git a/deployment/docker/src/main/docker/Dockerfile b/deployment/docker/src/main/docker/Dockerfile
index a01449d7..729366fb 100644
--- a/deployment/docker/src/main/docker/Dockerfile
+++ b/deployment/docker/src/main/docker/Dockerfile
@@ -10,13 +10,12 @@ RUN cd /tmp && curl -O https://storage.googleapis.com/golang/go1.9.linux-amd64.t
mv /tmp/gotty/bin/gotty /usr/sbin/
#Environments
-ENV OPEN_CLI_HOME /opt/oclip
-ENV OPEN_CLI_DEBUG false
-ENV OPEN_CLI_DEBUG_PORT 5005
-ENV OPEN_CLI_MODE console
-ENV OPEN_CLI_PRODUCT_IN_USE open-cli
-
-ENV GOTTY_TITLE_FORMAT {{ .command }}
+ENV OPEN_CLI_HOME=/opt/oclip \
+ OPEN_CLI_DEBUG=false \
+ OPEN_CLI_DEBUG_PORT=5005 \
+ OPEN_CLI_MODE=console \
+ OPEN_CLI_PRODUCT_IN_USE=open-cli \
+ GOTTY_TITLE_FORMAT="{{ .command }}"
#Copy CLI into docker
ADD ./STAGE $OPEN_CLI_HOME