Skip to content

Commit

Permalink
Install go manually
Browse files Browse the repository at this point in the history
  • Loading branch information
richardsliu committed Dec 5, 2018
1 parent 4b54d94 commit 9e153e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/images/tf_operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ FROM centos:7

ENV GOLANG_VERSION 1.8.3

RUN yum -y install go && yum clean all
RUN curl -LO https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz &&\
tar -C /usr/local -xzf go$GOLANG_VERSION.linux-amd64.tar.gz

ENV PATH $PATH:/usr/local/go/bin

# TODO(jlewi): We should probably change the directory to /opt/kubeflow.
RUN mkdir -p /opt/tensorflow_k8s/dashboard/
Expand Down

0 comments on commit 9e153e4

Please sign in to comment.