File tree Expand file tree Collapse file tree
{{ cookiecutter.__package_name_kebab_case }} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This dockerfile serves as a base for all testing images.
22# It contains the minimal dependencies and is therefore smaller.
3- FROM registry.risc-software.at/common/ci-templates/python/pyenv:latest
4-
3+ from debian:stable-slim
54ARG PYTHON_VERSION={{cookiecutter.python_version}}
6- ARG POETRY_VERSION=1.5.1
5+ ARG POETRY_VERSION=1.7.1
6+
7+ ENV DEBIAN_FRONTEND noninteractive
78LABEL maintainer="{{cookiecutter.author_name}} <{{cookiecutter.author_email}}>"
89
910RUN apt-get update && apt-get install -yq \
@@ -34,8 +35,6 @@ RUN set -ex \
3435 && pyenv update \
3536 && eval "$(pyenv init -)" && pyenv --version
3637
37- RUN pip install --upgrade pip
38-
3938# Install python and set interpreter
4039RUN pyenv install -s ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION}
4140
@@ -56,3 +55,4 @@ RUN poetry install --without dev --all-extras --no-root
5655
5756# Copy the rest of the repository
5857ADD . .
58+
Original file line number Diff line number Diff line change 11# This dockerfile serves as a base for all testing images.
2- # It contains all dependencies and is therefore bigger.
3- FROM registry.risc-software.at/common/ci-templates/python/pyenv:latest
4-
2+ # It contains the minimal dependencies and is therefore smaller.
3+ from debian:stable-slim
54ARG PYTHON_VERSION={{cookiecutter.python_version}}
6- ARG POETRY_VERSION=1.5.1
5+ ARG POETRY_VERSION=1.7.1
6+
7+ ENV DEBIAN_FRONTEND noninteractive
78LABEL maintainer="{{cookiecutter.author_name}} <{{cookiecutter.author_email}}>"
89
910RUN apt-get update && apt-get install -yq \
@@ -34,8 +35,6 @@ RUN set -ex \
3435 && pyenv update \
3536 && eval "$(pyenv init -)" && pyenv --version
3637
37- RUN pip install --upgrade pip
38-
3938# Install python and set interpreter
4039RUN pyenv install -s ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION}
4140
You can’t perform that action at this time.
0 commit comments