You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by le...@apache.org on 2024/03/11 20:24:48 UTC

(nutch) branch revert-801-patch-2 created (now 54394b9ed)

This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a change to branch revert-801-patch-2
in repository https://gitbox.apache.org/repos/asf/nutch.git


      at 54394b9ed Revert "Update Dockerfile / JAVA_HOME (#801)"

This branch includes the following new commits:

     new 54394b9ed Revert "Update Dockerfile / JAVA_HOME (#801)"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(nutch) 01/01: Revert "Update Dockerfile / JAVA_HOME (#801)"

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch revert-801-patch-2
in repository https://gitbox.apache.org/repos/asf/nutch.git

commit 54394b9ed860eda9e60fc3e469534cf447dd0518
Author: Lewis John McGibbney <le...@gmail.com>
AuthorDate: Mon Mar 11 13:24:44 2024 -0700

    Revert "Update Dockerfile / JAVA_HOME (#801)"
    
    This reverts commit 0b04db65ad32634aa1a63a191a404c52a5d29e46.
---
 docker/Dockerfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index ea734bd06..29ead46ba 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -23,8 +23,6 @@ RUN apk update
 RUN apk --no-cache add apache-ant bash git openjdk11
 
 RUN echo 'export JAVA_HOME=/usr/lib/jvm/java-11-openjdk' >> $HOME/.bashrc
-RUN echo 'export JAVA_HOME=/usr/lib/jvm/java-11-openjdk' >> $HOME/.ashrc
-ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk
 env NUTCH_HOME='/root/nutch_source/runtime/local'
 
 # Checkout and build the Nutch master branch (1.x)
@@ -36,4 +34,4 @@ RUN git clone https://github.com/apache/nutch.git nutch_source && \
 
 # Create symlinks for runtime/local/bin/nutch and runtime/local/bin/crawl
 RUN ln -sf $NUTCH_HOME/bin/nutch /usr/local/bin/
-RUN ln -sf $NUTCH_HOME/bin/crawl /usr/local/bin/
+RUN ln -sf $NUTCH_HOME/bin/crawl /usr/local/bin/
\ No newline at end of file