From e1fe6a4caf39e22b064e768459843955cb0bcf8c Mon Sep 17 00:00:00 2001 From: Daniel Axtens Date: Wed, 23 Jun 2021 11:19:36 +1000 Subject: [PATCH] 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 --- tools/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3