diff mbox series

[2/2] docker: install Python 3.9

Message ID 20210623042027.336625-3-dja@axtens.net
State Accepted
Headers show
Series Unbreak testing | expand

Commit Message

Daniel Axtens June 23, 2021, 4:20 a.m. UTC
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 <dja@axtens.net>
---
 tools/docker/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index b53c44329cd8..fe0cd59b5e27 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