Skip to content

Commit

Permalink
Merge pull request #39 from Vastra-Gotalandsregionen/35912-bump-tenso…
Browse files Browse the repository at this point in the history
…rflow-image

35912: Bump Tensorflow image to new version
  • Loading branch information
luksi1 authored Aug 6, 2024
2 parents 8ff39a1 + f24d17d commit f1fa63b
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.3.1"
assert lines[0] == "FROM registry.git.vgregion.se/aiplattform/images/tensorflow:1.0.0"
assert lines[-2] == '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.image == 'Tensorflow' -%}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.3.1
{% if cookiecutter.image == 'Tensorflow' -%}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:1.0.0
{% elif cookiecutter.image == 'PyTorch' -%}FROM registry.git.vgregion.se/aiplattform/images/pytorch:1.1.1
{% elif cookiecutter.image == 'R' -%}FROM registry.git.vgregion.se/aiplattform/images/r:0.4.1{%- endif %}
ENV GID=1000
Expand Down

0 comments on commit f1fa63b

Please sign in to comment.