Skip to content

Commit

Permalink
Merge pull request #29 from Vastra-Gotalandsregionen/AI-743
Browse files Browse the repository at this point in the history
Update image versions
  • Loading branch information
VincentLideboKjellman authored Feb 14, 2023
2 parents 1a408d8 + 3e1fc22 commit 1aeeef9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_pytorch_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[1] == "FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.1"
assert lines[1] == "FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.2"
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 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.2.0"
assert lines[0] == "FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.2.1"
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
4 changes: 2 additions & 2 deletions {{ cookiecutter.repo_name }}/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if cookiecutter.image == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.2.0{% endif %}
{% if cookiecutter.image == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.1{% endif %}
{% if cookiecutter.image == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.2.1{% endif %}
{% if cookiecutter.image == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.2{% endif %}
{% if cookiecutter.image == 'R' %}FROM registry.git.vgregion.se/aiplattform/images/r:0.2.0{% endif %}
ENV GID=1000
ENV UID=1000
Expand Down

0 comments on commit 1aeeef9

Please sign in to comment.