From b28439ce2f9b90579a2bdbe7286ff8dde49fc08b Mon Sep 17 00:00:00 2001 From: Standa Geidl Date: Tue, 9 Jan 2024 17:48:51 +0100 Subject: [PATCH] Chore/pre commit/add python 3.12 (#168) * chore(pre-commit): add python 3.12 and update older versions * chore(pre-commit): bump version to 3.6.0 --- pre-commit/Dockerfile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pre-commit/Dockerfile b/pre-commit/Dockerfile index 0a6e6844..1ea1007a 100644 --- a/pre-commit/Dockerfile +++ b/pre-commit/Dockerfile @@ -1,18 +1,19 @@ FROM python:3.11-slim ENV PATH="$PATH:/root/.pyenv/bin:/root/.pyenv/shims" -ENV version=3.4.0 +ENV version=3.6.0 RUN apt update && \ apt install -y git golang bash curl build-essential libffi-dev libssl-dev libbz2-dev libncursesw5-dev libgdbm-dev liblzma-dev libsqlite3-dev tk-dev uuid-dev libreadline-dev nodejs npm python3-distutils zlib1g-dev && \ curl --location https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash && \ pyenv update && \ - pyenv install 3.7.16 && \ - pyenv install 3.8.16 && \ - pyenv install 3.9.16 && \ - pyenv install 3.10.10 && \ - pyenv install 3.11.2 && \ - pyenv global 3.11.2 3.10.10 3.9.16 3.8.16 3.7.16 && \ + pyenv install 3.7.17 && \ + pyenv install 3.8.18 && \ + pyenv install 3.9.18 && \ + pyenv install 3.10.13 && \ + pyenv install 3.11.7 && \ + pyenv install 3.12.1 && \ + pyenv global 3.12.1 3.11.7 3.10.13 3.9.18 3.8.18 3.7.17 && \ pyenv rehash && \ pip install pre-commit==$version && \ rm -rf /var/cache/apk/* && \