Skip to content

Commit

Permalink
Upgrade TensorFlow version in all Dockerfiles to v2
Browse files Browse the repository at this point in the history
Signed-off-by: Sandipan Panda <[email protected]>
  • Loading branch information
sandipanpanda committed Mar 10, 2024
1 parent 14eeaeb commit 995048a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/tensorflow/dist-mnist/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM tensorflow/tensorflow:1.5.0
FROM tensorflow/tensorflow:2.16.1

ADD examples/tensorflow/dist-mnist/ /var/tf_dist_mnist
ENTRYPOINT ["python", "/var/tf_dist_mnist/dist_mnist.py"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tensorflow/tensorflow:1.11.0
FROM tensorflow/tensorflow:2.16.1

COPY examples/tensorflow/distribution_strategy/estimator-API/keras_model_to_estimator.py /
ENTRYPOINT ["python", "/keras_model_to_estimator.py", "/tmp/tfkeras_example/"]
2 changes: 1 addition & 1 deletion examples/tensorflow/mnist_with_summaries/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM tensorflow/tensorflow:1.11.0
FROM tensorflow/tensorflow:2.16.1

ADD examples/tensorflow/mnist_with_summaries/ /var/tf_mnist
ENTRYPOINT ["python", "/var/tf_mnist/mnist_with_summaries.py"]
2 changes: 1 addition & 1 deletion examples/tensorflow/tf_sample/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tensorflow/tensorflow:1.8.0
FROM tensorflow/tensorflow:2.16.1
RUN pip install retrying
RUN mkdir -p /opt/kubeflow
COPY examples/tensorflow/tf_sample/tf_smoke.py /opt/kubeflow/
Expand Down

0 comments on commit 995048a

Please sign in to comment.