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 <lewis.mcgibb...@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

Reply via email to