-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
ARG PYTHON_VERSION | ||
ARG TENSORFLOW_VERSION | ||
FROM tensorflow/build:${TENSORFLOW_VERSION}-python$PYTHON_VERSION | ||
|
||
ARG PYTHON_VERSION | ||
ARG TENSORFLOW_VERSION | ||
ARG BAZEL_OPTIMIZATION | ||
|
||
ADD . /opt/io | ||
WORKDIR /opt/io | ||
|
||
RUN python${PYTHON_VERSION} -m pip install tensorflow==${TENSORFLOW_VERSION} | ||
|
||
RUN python$PYTHON_VERSION -m pip uninstall -y tensorflow-io-gcs-filesystem | ||
|
||
RUN python$PYTHON_VERSION tools/build/configure.py | ||
|
||
RUN cat .bazelrc | ||
|
||
RUN TF_PYTHON_VERSION=${PYTHON_VERSION} bazel build ${BAZEL_OPTIMIZATION} -- //tensorflow_io/... //tensorflow_io_gcs_filesystem/... | ||
|