summaryrefslogtreecommitdiffstats
path: root/tca-cdap-container/Dockerfile
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-04-04 21:51:34 -0400
committerLusheng Ji <lji@research.att.com>2018-04-05 02:41:25 +0000
commit3622f7a20e615d409dd5a8dea3ae592115df91ae (patch)
tree1ebd8cce7be5c3013c26139aed1eceec22080349 /tca-cdap-container/Dockerfile
parent6fabd804de890bc5069d2518fffb11b83ea5961a (diff)
Fix TCA image
Issue-ID: DCAEGEN2-206 Change-Id: I8fa5150bffc0e371ab09bd75f1df4e460bf85a72 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'tca-cdap-container/Dockerfile')
-rw-r--r--tca-cdap-container/Dockerfile9
1 files changed, 4 insertions, 5 deletions
diff --git a/tca-cdap-container/Dockerfile b/tca-cdap-container/Dockerfile
index 2e4f8ca..158c95a 100644
--- a/tca-cdap-container/Dockerfile
+++ b/tca-cdap-container/Dockerfile
@@ -17,18 +17,17 @@
FROM caskdata/cdap-standalone:4.1.2
RUN apt-get update
-RUN apt-get install -y netcat jq wget
+RUN apt-get install -y netcat jq wget vim iputils-ping
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
-COPY host.aliases /etc/host.aliases
-
-RUN echo "export HOSTALIASES=/etc/host.aliases" >> /etc/profile
RUN chmod 755 /opt/tca/restart.sh
-ENV HOSTALIASES /etc/host.aliases
+#COPY host.aliases /etc/host.aliases
+#RUN echo "export HOSTALIASES=/etc/host.aliases" >> /etc/profile
+#ENV HOSTALIASES /etc/host.aliases
EXPOSE 11011
EXPOSE 11015