Skip to content

Commit

Permalink
adopted Dockerfile to new Che repo structure
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
  • Loading branch information
Eugene Ivantsov committed Feb 12, 2016
1 parent a7b8822 commit 6ef52e8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ RUN mkdir /home/user/.che && \
ENV JAVA_HOME /opt/jre$JAVA_VERSION_PREFIX
ENV PATH $JAVA_HOME/bin:$PATH

# expose 8080 port and a range of ports for runners
EXPOSE 8080

EXPOSE 8080 32768-65535
ADD /assembly/assembly-main/target/eclipse-che-*/eclipse-che-* /home/user/che

ADD /assembly-main/target/eclipse-che-*/eclipse-che-* /home/user/che

CMD sudo chown -R user:user /home/user/che && \
sudo service docker start && \
cd /home/user/che/bin/ && ./che.sh run
CMD sudo rm -rf /home/user/che/lib-copy/* && \
mkdir -p /home/user/che/lib-copy/ && \
sudo chown -R user:user /home/user && \
cp -rf /home/user/che/lib/* /home/user/che/lib-copy && \
/home/user/che/bin/che.sh run

0 comments on commit 6ef52e8

Please sign in to comment.