Skip to content

Commit 33793f4

Browse files
committed
Install required Python versions in TestKit Docker image
1 parent 384c3b2 commit 33793f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

testkit/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,12 @@ ENV PYENV_ROOT /.pyenv
4242
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
4343

4444
# Set minimum supported Python version
45-
RUN pyenv install 3.7.12
45+
RUN pyenv install 3.7:latest
46+
RUN pyenv install 3.8:latest
47+
RUN pyenv install 3.9:latest
48+
RUN pyenv install 3.10:latest
4649
RUN pyenv rehash
47-
RUN pyenv global 3.7.12
50+
RUN pyenv global $(pyenv versions --bare --skip-aliases)
4851

4952
# Install Latest pip for each environment
5053
# https://pip.pypa.io/en/stable/news/

0 commit comments

Comments
 (0)