mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
update hbase, update version
This commit is contained in:
parent
bb6c60d292
commit
2cda0be75e
@ -23,11 +23,13 @@ RUN chown root:root /root/.ssh/config
|
||||
RUN echo "Port 2122" >> /etc/ssh/sshd_config
|
||||
|
||||
# Install Apche HBase
|
||||
RUN wget -O apache-hbase.tar.gz http://mirrors.ocf.berkeley.edu/apache/hbase/1.2.6/hbase-1.2.6-bin.tar.gz && \
|
||||
ENV HBASE_VER 1.2.6.1
|
||||
|
||||
RUN wget -O apache-hbase.tar.gz http://mirrors.ocf.berkeley.edu/apache/hbase/$HBASE_VER/hbase-$HBASE_VER-bin.tar.gz && \
|
||||
tar xzvf apache-hbase.tar.gz -C /usr/local/ && rm apache-hbase.tar.gz
|
||||
|
||||
# Create a soft link to make future upgrade transparent
|
||||
RUN ln -s /usr/local/hbase-1.2.6 /usr/local/hbase
|
||||
RUN ln -s /usr/local/hbase-$HBASE_VER /usr/local/hbase
|
||||
|
||||
ENV HBASE_HOME /usr/local/hbase
|
||||
ENV PATH $PATH:$HBASE_HOME/bin
|
||||
|
Loading…
Reference in New Issue
Block a user