Skip to content

Commit

Permalink
chore(precommit): update to v3.0.4
Browse files Browse the repository at this point in the history
add py311 as main runtime and update other runtimes to the latest patch versions
  • Loading branch information
aexvir authored Feb 8, 2023
1 parent 12e8640 commit 7a772df
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pre-commit/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down

0 comments on commit 7a772df

Please sign in to comment.