Skip to content

Commit 3402d87

Browse files
committed
cleanup,, remove attempt to manually edit /etc/hosts
1 parent a74429b commit 3402d87

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

deploy/cassandra/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ COPY cassandra.yaml /opt/apache-cassandra-2.0.11-bin/conf/cassandra.yaml
1212

1313
# setup vagrant account
1414
# update hosts file...
15-
COPY hosts /etc/hosts2
16-
RUN cat /etc/hosts2 >> /etc/hosts
1715
CMD /opt/apache-cassandra-2.0.11/bin/cassandra -f

deploy/spark/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ COPY spark-1.2.0-bin-hadoop2.4.tgz /opt/
1313
RUN tar -xzf /opt/spark-1.2.0-bin-hadoop2.4.tgz -C /opt/
1414
RUN echo "SPARK_HOME=/opt/spark-1.2.0-bin-hadoop2.4" >> /etc/environment
1515

16-
RUN echo "172.17.0.2 scale1.docker" >> /etc/hosts
17-
RUN echo "172.17.0.3 scale2.docker" >> /etc/hosts
16+
#RUN echo "172.17.0.2 scale1.docker" >> /etc/hosts
17+
#RUN echo "172.17.0.3 scale2.docker" >> /etc/hosts
1818

1919
RUN echo "JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk/" >> /opt/spark-1.2.0-bin-hadoop2.4/conf/spark-env.sh
2020

0 commit comments

Comments
 (0)