File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
{{ cookiecutter.repo_name }} Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- {% if cookiecutter.image == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.2.0 {% endif %}
2- {% if cookiecutter.image == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.1 {% endif %}
1+ {% if cookiecutter.image == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.2.1 {% endif %}
2+ {% if cookiecutter.image == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.2 {% endif %}
33{% if cookiecutter.image == 'R' %}FROM registry.git.vgregion.se/aiplattform/images/r:0.2.0{% endif %}
44ENV GID=1000
55ENV UID=1000
66
77RUN apt -y update \
88 && apt install -y --no-install-recommends python3-pip git openssl {% if cookiecutter.image != 'R' %}\
99 && addgroup --gid $GID researcher \
10- && adduser --home /workspace --shell /bin/bash --disabled-password --gecos '' --uid $UID --gid $GID researcher
10+ && adduser --home /workspace --shell /bin/bash --disabled-password --gecos '' --uid $UID --gid $GID researcher \
11+ && chown -R 1000:1000 /workspace
1112 {% endif %}
1213
1314ADD http://aiav2.vgregion.se/VGC%20Root%20CA%20v2.crt /tmp/vgc_root.der
You can’t perform that action at this time.
0 commit comments