Skip to content

Commit

Permalink
Merge pull request #43 from Microsoft/master
Browse files Browse the repository at this point in the history
Update docker file to use latest nni release (#263)
  • Loading branch information
SparkSnail authored Oct 25, 2018
2 parents 9413d77 + 60ad940 commit c0663e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/Dockerfile.build.base
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RUN wget -qO- http://archive.apache.org/dist/hadoop/common/hadoop-${HADOOP_VERSI
#
#Install NNI
#
RUN pip3 install -v --user git+https://github.com/Microsoft/nni.git@v0.2
RUN pip3 install -v --user git+https://github.com/Microsoft/nni.git@$(curl --silent "https://api.github.com/repos/Microsoft/nni/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')

ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
HADOOP_INSTALL=/usr/local/hadoop \
Expand Down

0 comments on commit c0663e8

Please sign in to comment.