summaryrefslogtreecommitdiffstats
path: root/tca-cdap-container/Dockerfile
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-03-28 07:38:05 -0700
committerLusheng Ji <lji@research.att.com>2018-03-28 07:38:14 -0700
commit42014650de4ec32155b663594dee8cc0b066f6a9 (patch)
tree4b2a0f528604b70ef4e44c1b04ac0c34dbb84b5c /tca-cdap-container/Dockerfile
parent230ae894c1b2f489e31d6a0d9f7db99cf6b65cbe (diff)
Change how to fetch TCA jar
Issue-ID: DCAEGEN2-357 Change-Id: I0edaf2cbdea6b98ef438b03e8f400ca05090b052 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'tca-cdap-container/Dockerfile')
-rw-r--r--tca-cdap-container/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tca-cdap-container/Dockerfile b/tca-cdap-container/Dockerfile
index f5e70c8..2e4f8ca 100644
--- a/tca-cdap-container/Dockerfile
+++ b/tca-cdap-container/Dockerfile
@@ -17,8 +17,9 @@
FROM caskdata/cdap-standalone:4.1.2
RUN apt-get update
-RUN apt-get install -y netcat jq
-ADD https://nexus.onap.org/content/repositories/snapshots/org/onap/dcaegen2/analytics/tca/dcae-analytics-cdap-tca/2.2.0-SNAPSHOT/dcae-analytics-cdap-tca-2.2.0-20180320.190629-1.jar /opt/tca/dcae-analytics-cdap-tca-2.2.0.jar
+RUN apt-get install -y netcat jq wget
+COPY get-tca.sh /opt/tca/get-tca.sh
+RUN /opt/tca/get-tca.sh
COPY tca_app_config.json /opt/tca/tca_app_config.json
COPY tca_app_preferences.json /opt/tca/tca_app_preferences.json
COPY restart.sh /opt/tca/restart.sh