[
https://issues.apache.org/jira/browse/AVRO-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372037#comment-16372037
]
ASF GitHub Bot commented on AVRO-2041:
--------------------------------------
nielsbasjes closed pull request #285: AVRO-2041: Upgrade Apache Forrest in
docker image to v0.9
URL: https://github.com/apache/avro/pull/285
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/share/docker/Dockerfile b/share/docker/Dockerfile
index f97416749..535ae318f 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -37,13 +37,24 @@ RUN apt-get update && apt-get install
--no-install-recommends -y \
ruby ruby-dev rake \
libsnappy1 libsnappy-dev
-# Install Forrest
-RUN mkdir -p /usr/local/apache-forrest
-RUN curl -O
http://archive.apache.org/dist/forrest/0.8/apache-forrest-0.8.tar.gz
-RUN tar xzf *forrest* --strip-components 1 -C /usr/local/apache-forrest
+# Install Forrest in /usr/local/apache-forrest
+# Download
+RUN cd /usr/local/ && wget
"http://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-sources.tar.gz"
-O "apache-forrest-0.9-sources.tar.gz"
+RUN cd /usr/local/ && wget
"http://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-dependencies.tar.gz"
-O "apache-forrest-0.9-dependencies.tar.gz"
+
+# Unpack Apache Forrest
+RUN cd /usr/local/ && \
+ tar xzf apache-forrest-0.9-sources.tar.gz && \
+ tar xzf apache-forrest-0.9-dependencies.tar.gz && \
+ mv apache-forrest-0.9 apache-forrest
+RUN cd /usr/local/apache-forrest/main && ./build.sh
+
+# The solution for https://issues.apache.org/jira/browse/PIG-3906
+RUN mkdir -p /usr/local/apache-forrest/plugins && chmod a+rwX -R
/usr/local/apache-forrest/plugins
+RUN mkdir -p /usr/local/apache-forrest/build/plugins && chmod a+rwX -R
/usr/local/apache-forrest/build/plugins
+
+# Configure where forrest can be found
RUN echo 'forrest.home=/usr/local/apache-forrest' > build.properties
-RUN chmod -R 0777 /usr/local/apache-forrest/build
/usr/local/apache-forrest/main \
- /usr/local/apache-forrest/plugins
ENV FORREST_HOME /usr/local/apache-forrest
# Install Perl modules
----------------------------------------------------------------
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:
[email protected]
> set up gitbox integration
> -------------------------
>
> Key: AVRO-2041
> URL: https://issues.apache.org/jira/browse/AVRO-2041
> Project: Avro
> Issue Type: Task
> Components: community
> Reporter: Sean Busbey
> Assignee: Niels Basjes
> Priority: Major
>
> We got consensus back in may about [turning on gitbox
> integration|https://lists.apache.org/thread.html/cdd8ba14c1bf8aca2d71d09862e9780f2dc46af414ed78b1e3fd9c56@%3Cdev.avro.apache.org%3E]
> so do it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)