diff --git a/Dockerfile b/Dockerfile index 2e11638..aad92f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ RUN cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys # java -RUN curl -LO 'http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.rpm' -H 'Cookie: oraclelicense=accept-securebackup-cookie' -RUN rpm -i jdk-7u51-linux-x64.rpm -RUN rm jdk-7u51-linux-x64.rpm +RUN curl -LO 'http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.rpm' -H 'Cookie: oraclelicense=accept-securebackup-cookie' +RUN rpm -i jdk-7u71-linux-x64.rpm +RUN rm jdk-7u71-linux-x64.rpm ENV JAVA_HOME /usr/java/default ENV PATH $PATH:$JAVA_HOME/bin diff --git a/README.md b/README.md index 933ba97..f2abe6d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ In order to use the Docker image you have just build or pulled use: **Make sure that SELinux is disabled on the host. If you are using boot2docker you don't need to do anything.** ``` -docker run -i -t sequenceiq/hadoop-docker:2.6.0 /etc/bootstrap.sh -bash +docker run -i -t -p 8088:8088 sequenceiq/hadoop-docker:2.6.0 /etc/bootstrap.sh -bash ``` ## Testing