Skip to content

Commit

Permalink
fix hadoop url (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yancey1989 authored Nov 7, 2019
1 parent 1c1e615 commit a5791c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install Hadoop.
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
ENV HADOOP_VERSION 3.2.0
ENV HADOOP_URL https://archive.apache.org/dist/hadoop/common/stable/hadoop-$HADOOP_VERSION.tar.gz
ENV HADOOP_URL https://archive.apache.org/dist/hadoop/common/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}.tar.gz
RUN set -x \
&& curl -fsSL "$HADOOP_URL" -o /tmp/hadoop.tar.gz \
&& tar -xzf /tmp/hadoop.tar.gz -C /opt/ \
Expand Down

0 comments on commit a5791c2

Please sign in to comment.