From 466aab4dfbeefd049301ed778f4162aca9f1db3d Mon Sep 17 00:00:00 2001 From: eliya1 Date: Thu, 22 Sep 2022 14:11:18 +0000 Subject: [PATCH] AI-418: Add new patch to tensorflow image --- tests/test_tensorflow_env.py | 2 +- {{ cookiecutter.repo_name }}/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tensorflow_env.py b/tests/test_tensorflow_env.py index 69da3e945..cd07774b4 100644 --- a/tests/test_tensorflow_env.py +++ b/tests/test_tensorflow_env.py @@ -87,7 +87,7 @@ def test_dockerfile(self): lines = list(map(lambda x: x.strip(), fin.readlines())) dockerfile_text = Path(dockerfile_path).read_text() - assert lines[0] == "FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.1.2" + assert lines[0] == "FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.1.3" assert lines[-1] == 'WORKDIR /workspace' assert "ADD http://aiav2.vgregion.se/VGC%20Root%20CA%20v2.crt /tmp/vgc_root.der" in lines assert "ADD http://aiav2.vgregion.se/VGC%20Issuing%201%20CA%20v2.crt /tmp/vgc_issuing1.der" in lines diff --git a/{{ cookiecutter.repo_name }}/Dockerfile b/{{ cookiecutter.repo_name }}/Dockerfile index da6e0cc5b..5f6a593bf 100644 --- a/{{ cookiecutter.repo_name }}/Dockerfile +++ b/{{ cookiecutter.repo_name }}/Dockerfile @@ -1,4 +1,4 @@ -{% if cookiecutter.python_interpreter == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.1.2{% endif %} +{% if cookiecutter.python_interpreter == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.1.3{% endif %} {% if cookiecutter.python_interpreter == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.1.1{% endif %} {% if cookiecutter.python_interpreter == 'R' %}FROM registry.git.vgregion.se/aiplattform/images/r:0.1.1{% endif %} ENV GID=1000