Fix TCA image
Issue-ID: DCAEGEN2-206
Change-Id: I8fa5150bffc0e371ab09bd75f1df4e460bf85a72
Signed-off-by: Lusheng Ji <lji@research.att.com>
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