diff --git a/pre-commit/Dockerfile b/pre-commit/Dockerfile index 5f3e459b..0baa9fcf 100644 --- a/pre-commit/Dockerfile +++ b/pre-commit/Dockerfile @@ -1,17 +1,18 @@ -FROM python:3.10-slim +FROM python:3.11-slim ENV PATH="$PATH:/root/.pyenv/bin:/root/.pyenv/shims" -ENV version=2.17.0 +ENV version=3.0.4 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.12 && \ - pyenv install 3.8.12 && \ - pyenv install 3.9.10 && \ - pyenv install 3.10.2 && \ - pyenv global 3.10.2 3.9.10 3.8.12 3.7.12 && \ + 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 rehash && \ npm config set unsafe-perm true && \ pip install pre-commit==$version && \