diff --git a/docker/nlp-java.dockerfile b/docker/nlp-java.dockerfile index 0c1866e..020c81e 100644 --- a/docker/nlp-java.dockerfile +++ b/docker/nlp-java.dockerfile @@ -6,7 +6,8 @@ RUN apt-get update; apt-get install -y git wget; RUN cd /root; wget https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_linux-x64_bin.tar.gz; wget http://mirror.navercorp.com/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz -RUN echo "\n\nexport JAVA_HOME=/root/jdk-11\nexport PATH=$PATH:/root/jdk-11/bin:/root/apache-maven-3.6.1/bin" > /root/.bashrc +RUN echo "export JAVA_HOME=/root/jdk-11" >> /root/.bashrc \ + echo "export PATH=$PATH:/root/jdk-11/bin:/root/apache-maven-3.6.1/bin" >> /root/.bashrc RUN cd /root; tar -xsvf openjdk-11+28_linux-x64_bin.tar.gz; tar -xsvf apache-maven-3.6.1-bin.tar.gz diff --git a/docker/start.sh b/docker/start.sh index c023dfd..fdddd5d 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -2,6 +2,8 @@ rm -rdf /root/nlp +cat /root/.bashrc + git clone https://git.sanchezm.fr/mathieu/CAU-NLP-Spring-2019-PQ-Man-Server.git /root/nlp cd /root/nlp/CAu_NLP_2019