Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify dockerfile for ppc64le #981

Merged
merged 1 commit into from
Apr 26, 2019
Merged
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
7 changes: 5 additions & 2 deletions build/images/tf_operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM registry.access.redhat.com/ubi8-dev-preview/ubi:latest
gaocegege marked this conversation as resolved.
Show resolved Hide resolved

ARG GOLANG_VERSION=1.8.3
ARG GOLANG_ARCH=amd64
ENV GOROOT=/usr/local/go PATH=$PATH:/usr/local/go/bin

RUN curl -fksSL https://dl.google.com/go/go$GOLANG_VERSION.linux-$GOLANG_ARCH.tar.gz | tar -xz -C /usr/local/
RUN if [ "$(uname -m)" = "ppc64le" ]; then \
curl -fksSL https://dl.google.com/go/go$GOLANG_VERSION.linux-ppc64le.tar.gz | tar -xz -C /usr/local/; \
else \
curl -fksSL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz | tar -xz -C /usr/local/; \
fi

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