Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Docker fix #249

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions resources/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ ENV HADOOP_OPTS=' \
-Dsystem:user.name=root \
-Dderby.stream.error.file=/root/derby.log'
ENV PATH="${HADOOP_HOME}/bin:${HIVE_HOME}/bin:${PATH}"
ENV JAVA_HOME='/usr/lib/jvm/java-8-openjdk-amd64'
ENV JAVA_HOME='/usr/local/openjdk-8/jre'

COPY . ${HIVEMALL_PATH}/

RUN set -eux && \
apt-get update && \
apt-get install -y --no-install-recommends openssh-server maven g++ make ruby && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs && \
npm install -g gitbook-cli && \
\
wget ${BASE_URL}hadoop/common/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}.tar.gz -O - \
| tar xz && \
mv hadoop-${HADOOP_VERSION} ${HADOOP_HOME} && \
Expand Down