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

Andrew Purtell commented on HBASE-11885:
----------------------------------------

In the example URLs provided for getting JDK and Maven binaries, the resources 
are outside of Apache infrastructure. That's no problem as those are user 
supplied settings. However in the Dockerfile when checking out HBase we 
probably should not rely on third party resources. Therefore I propose:

For 0.98:
{code}
+RUN git clone http://git.apache.org/hbase.git -b 0.98
{code}

For branch-1:
{code}
+RUN git clone http://git.apache.org/hbase.git -b branch-1
{code}

For master:
{code}
+RUN git clone http://git.apache.org/hbase.git -b master
{code}

The downside of this change is git.apache.org is substantially slower than 
github.com, although the clones do eventually succeed. 

> Provide a Dockerfile to easily build and run HBase from source
> --------------------------------------------------------------
>
>                 Key: HBASE-11885
>                 URL: https://issues.apache.org/jira/browse/HBASE-11885
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Dima Spivak
>            Assignee: Dima Spivak
>         Attachments: HBASE-11885.patch, HBASE-11885_v2.patch
>
>
> [A recent email to 
> dev@|http://mail-archives.apache.org/mod_mbox/hbase-dev/201408.mbox/%3CCAAef%2BM4q%3Da8Dqxe_EHSFTueY%2BXxz%2BtTe%2BJKsWWbXjhB_Pz7oSA%40mail.gmail.com%3E]
>  highlighted the difficulty that new users can face in getting HBase compiled 
> from source and running locally. I'd like to provide a Dockerfile that would 
> allow anyone with Docker running on a machine with a reasonably current Linux 
> kernel to do so with ease.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to