Skip to content

Commit

Permalink
Merge pull request #19 from Vastra-Gotalandsregionen/AI-418
Browse files Browse the repository at this point in the history
AI-418: Add new patch to tensorflow image
  • Loading branch information
luksi1 authored Sep 23, 2022
2 parents 1353fc1 + 466aab4 commit 73c118c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_tensorflow_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 73c118c

Please sign in to comment.