Skip to content

Conversation

@BryanCutler
Copy link
Member

@BryanCutler BryanCutler commented Apr 19, 2019

This changes the tensorflow-io developer Docker file to be based from tensorflow/tensorflow:custom-op. Using this base image gives us Ubuntu 14.04 and gcc 4.8, which is in-line with what TensorFlow is using to allow for better compatibility. The remaining dev image stays the same, installing a newer Bazel version and conda environment with required packages for building/testing.

Fixes #173


RUN apt-get update && \
apt-get install -y \
build-essential \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

custom-op should set up the required C++ build tools

ffmpeg

ARG BAZEL_VERSION=0.20.0
ARG BAZEL_VERSION=0.24.1
Copy link
Member Author

@BryanCutler BryanCutler Apr 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yongtang I think you said 0.24.1 is preferred to build TF, so updating that here

@BryanCutler
Copy link
Member Author

@yongtang could you please have a look and make sure I'm not missing any required package from the latest ops, thanks!

Copy link
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

The bazel 0.24.1 is needed in tensorflow:
tensorflow/tensorflow@407a4f3

We will need google_cloud_cpp as well so preferable to align with 0.24.1.

@yongtang yongtang merged commit 6fe78cb into tensorflow:master Apr 21, 2019
i-ony pushed a commit to i-ony/io that referenced this pull request Feb 8, 2021
…base-image

Change dev Docker image to use tensorflow:custom-op as base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update dev/Dockerfile to use gcc 4.8 by default

2 participants