From: Daniel Axtens Date: Wed, 23 Jun 2021 01:19:36 +0000 (+1000) Subject: docker: install Python 3.9 X-Git-Tag: v3.1.0~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1fe6a4caf39e22b064e768459843955cb0bcf8c;p=thirdparty%2Fpatchwork.git docker: install Python 3.9 Since commit 9a54bf4bfc54 ("Add Python 3.9 support"), Python 3.9 is tested by tox, so currently `docker-compose run web --tox` fails due to missing Py3.9 binaries. Fix it. Fixes: 9a54bf4bfc54 ("Add Python 3.9 support") Signed-off-by: Daniel Axtens --- diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index b53c4432..fe0cd59b 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -48,7 +48,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal RUN pyenv latest install 3.6 && \ pyenv latest install 3.7 && \ - pyenv latest install 3.8 + pyenv latest install 3.8 && \ + pyenv latest install 3.9 RUN pyenv global $(pyenv versions --bare | tac) RUN pip install tox tox-pyenv