aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-os/docker-dashboard-installation.sh
diff options
context:
space:
mode:
authorKotagiri, Ramprasad (rp5662) <rp5662@att.com>2019-04-08 23:19:29 -0400
committerKotagiri, Ramprasad (rp5662) <rp5662@att.com>2019-04-08 23:21:24 -0400
commita7f82864a237478cab07dbbbb227b933ceda32c6 (patch)
tree760dde4e42690eff40715ee374e6014ffbce5e03 /ccsdk-app-os/docker-dashboard-installation.sh
parenteef2f88f3e59bc4e107c37ca13c3a339b2d272b7 (diff)
copy war file in Docker image
Add build argument in POM to set the ARG used in Dockerfile. Issue-ID: CCSDK-1011 Change-Id: Ie8181b8bf19770e39a8358149a29e9bfc5ce1a86 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
Diffstat (limited to 'ccsdk-app-os/docker-dashboard-installation.sh')
-rw-r--r--ccsdk-app-os/docker-dashboard-installation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccsdk-app-os/docker-dashboard-installation.sh b/ccsdk-app-os/docker-dashboard-installation.sh
index 75aa8a0..4c35510 100644
--- a/ccsdk-app-os/docker-dashboard-installation.sh
+++ b/ccsdk-app-os/docker-dashboard-installation.sh
@@ -1,10 +1,10 @@
#!/bin/bash
# Unzip the dashboard war file
-unzip -qq -d /home/deployments/ccsdk-app /home/deployments/ccsdk-app.war
+unzip -qq -d /home/deployments/ccsdk-app /home/deployments/ccsdk-app*.war
# Delete the dashboard war file
-rm -f /home/deployments/ccsdk-app.war
+rm -f /home/deployments/ccsdk-app*.war
# Update dashboard.properties
cat /home/deployments/ccsdk-app/WEB-INF/conf/dashboard.properties | \