Skip to content

Commit 903db18

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testkit/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ 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 3.8:latest 3.9:latest 3.10:latest
4646
RUN pyenv rehash
47-
RUN pyenv global 3.7.12
47+
RUN pyenv global $(pyenv versions --bare --skip-aliases)
4848

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

0 commit comments

Comments
 (0)