Sha256: d14d57c3c9ccb3bcdc8a99f477a0039df77d7b0a965e4150350bb9f4354e1b2a
Contents?: true
Size: 1.52 KB
Versions: 6
Compression:
Stored size: 1.52 KB
Contents
FROM ubuntu:latest RUN apt-get update \ && apt-get install -y wget \ && rm -rf /var/lib/apt/lists/* RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections RUN apt-get update RUN apt-get install -y software-properties-common RUN add-apt-repository ppa:webupd8team/java RUN apt-get update RUN apt-get install -y oracle-java8-installer RUN apt-get install -y oracle-java8-set-default ENV SHARED_FOLDER /tmp/spec-tmp-files/ ENV TMP_ROOT /tmp/root/ ENV WAREHOUSE /tmp/warehouse/ ENV HADOOP_BIN $HOME/hadoop-bin/hadoop-1.2.1/ ENV HIVE_BIN $HOME/hive-bin/hive-0.11/ ENV HADOOP_HOME $HOME/hadoop/ ENV HIVE_HOME $HOME/hive/ ENV JAVA_HOME /usr/ RUN mkdir -p $HADOOP_BIN \ && mkdir -p $HIVE_BIN \ && mkdir -p $HADOOP_HOME \ && mkdir -p $HIVE_HOME \ && mkdir -p $SHARED_FOLDER \ && mkdir -p $TMP_ROOT \ && mkdir -p $WAREHOUSE RUN wget https://www.apache.org/dist/hadoop/core/hadoop-1.2.1/hadoop-1.2.1-bin.tar.gz -O $HADOOP_BIN/hadoop.tar.gz RUN wget https://archive.apache.org/dist/hive/hive-0.11.0/hive-0.11.0-bin.tar.gz -O $HIVE_BIN/hive.tar.gz RUN tar -xzf $HADOOP_BIN/hadoop.tar.gz --strip-components=1 -C $HADOOP_HOME RUN tar -xzf $HIVE_BIN/hive.tar.gz --strip-components=1 -C $HIVE_HOME CMD $HIVE_HOME/bin/hive \ --service hiveserver2 \ --hiveconf hive.server2.enable.doAs=false \ --hiveconf hive.server2.thrift.port=10000 \ --hiveconf hive.root.logger=INFO,console \ --hiveconf hive.metastore.warehouse.dir=$WAREHOUSE
Version data entries
6 entries across 6 versions & 1 rubygems