nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2295) Nutch master docker container broken
Date Mon, 18 Dec 2017 16:34:00 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295219#comment-16295219
] 

ASF GitHub Bot commented on NUTCH-2295:
---------------------------------------

sebastian-nagel closed pull request #266: NUTCH-2295 Nutch master docker container broken
URL: https://github.com/apache/nutch/pull/266
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 404f8c69f..c5ba8073a 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -13,28 +13,21 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM ubuntu:14.04
+FROM ubuntu:16.04
 MAINTAINER Michael Joyce <joyce@apache.org>
 
 WORKDIR /root/
 
-# Get the package containing apt-add-repository installed for adding repositories
-RUN apt-get update && apt-get install -y software-properties-common
 
-# Add the repository that we'll pull java down from.
-RUN add-apt-repository -y ppa:webupd8team/java && apt-get update && apt-get
upgrade -y
-
-# Get Oracle Java 1.7 installed
-RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
&& apt-get install -y oracle-java7-installer oracle-java7-set-default
-
-# Install various dependencies
-RUN apt-get install -y ant openssh-server vim telnet subversion rsync curl build-essential

+# Install dependencies
+RUN apt update
+RUN apt install -y ant openssh-server vim telnet git rsync curl openjdk-8-jdk-headless
 
 # Set up JAVA_HOME
-RUN echo 'export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")' >> $HOME/.bashrc
+RUN echo 'export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64' >> $HOME/.bashrc
 
 # Checkout and build the nutch trunk
-RUN svn checkout https://svn.apache.org/repos/asf/nutch/trunk/ nutch_source && cd
nutch_source && ant
+RUN git clone https://github.com/apache/nutch.git nutch_source && cd nutch_source
&& ant runtime
 
 # Convenience symlink to Nutch runtime local
 RUN ln -s nutch_source/runtime/local $HOME/nutch


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Nutch master docker container broken
> ------------------------------------
>
>                 Key: NUTCH-2295
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2295
>             Project: Nutch
>          Issue Type: Bug
>          Components: docker
>    Affects Versions: 1.12
>            Reporter: Lewis John McGibbney
>            Assignee: Sebastian Nagel
>             Fix For: 1.14
>
>
> Right now the Docker container at https://github.com/apache/nutch/blob/25e879afc9c48981e3daccb055b5389799fae464/docker/Dockerfile
is broken. 
> Various links need updated. The base image could be updated to Ubuntu 16. Nutch is no
longer held within SVN, etc.
> Needs a bit of time put into resolving these issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message