From 60ad9400cc56db9ade5c76cbc1117f4a334555f2 Mon Sep 17 00:00:00 2001 From: chicm-ms <38930155+chicm-ms@users.noreply.github.com> Date: Thu, 25 Oct 2018 17:08:26 +0800 Subject: [PATCH] Update docker file to use latest nni release (#263) --- deployment/Dockerfile.build.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/Dockerfile.build.base b/deployment/Dockerfile.build.base index 56315a3b5f..465cb77034 100644 --- a/deployment/Dockerfile.build.base +++ b/deployment/Dockerfile.build.base @@ -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 \