Skip to content

Commit

Permalink
Chore/pre commit/add python 3.12 (#168)
Browse files Browse the repository at this point in the history
* chore(pre-commit): add python 3.12 and update older versions

* chore(pre-commit): bump version to 3.6.0
  • Loading branch information
standag authored Jan 9, 2024
1 parent 0139e6f commit b28439c
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,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/* && \
Expand Down

0 comments on commit b28439c

Please sign in to comment.