kramasamy commented on a change in pull request #3160: Yaoli/fix dockerfiles
URL: https://github.com/apache/incubator-heron/pull/3160#discussion_r248565422
 
 

 ##########
 File path: docker/dist/Dockerfile.dist.debian9
 ##########
 @@ -31,16 +31,26 @@ ADD artifacts /heron
 
 WORKDIR /heron
 
-
 # run heron installer
 RUN /heron/heron-install.sh && \
-    tar --strip-components=1 -m -zxvf /heron/heron-core.tar.gz -C /heron && \
-    rm -rf /heron/heron-core.tar.gz && \
     rm -rf /heron/heron-install.sh && \
     rm -rf /opt/heron/heron-core/lib/scheduler/heron-local-scheduler.jar && \
     rm -rf /opt/heron/heron-core/lib/scheduler/heron-mesos-scheduler.jar && \
     rm -rf /opt/heron/heron-core/lib/scheduler/heron-slurm-scheduler.jar
 
+RUN ln -s /usr/local/heron/dist/heron-core /heron
+
+RUN mkdir -p /heron/heron-tools
+RUN ln -s /usr/local/heron/bin /heron/heron-tools
+RUN ln -s /usr/local/heron/conf /heron/heron-tools
+RUN ln -s /usr/local/heron/dist /heron/heron-tools
+RUN ln -s /usr/local/heron/lib /heron/heron-tools
+RUN ln -s /usr/local/heron/release.yaml /heron/heron-tools
+
+RUN ln -s /usr/local/heron/examples /heron
+
+RUN ln -s /usr/local/heron/release.yaml /heron
 
 Review comment:
   same as above

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to