Get pre-commit from pip instead of dnf

This commit is contained in:
Torjus Håkestad 2024-02-02 02:58:30 +01:00
parent d7791bb4d1
commit 17cdc3b2d4

View File

@ -31,7 +31,6 @@ RUN dnf install -y \
neovim \ neovim \
pinentry \ pinentry \
pipx \ pipx \
pre-commit \
python3 \ python3 \
zsh \ zsh \
&& dnf clean -y all && dnf clean -y all
@ -40,6 +39,7 @@ RUN dnf install -y \
RUN PIPX_HOME=/usr/local/lib/pipx PIPX_BIN_DIR=/usr/local/bin pipx install \ RUN PIPX_HOME=/usr/local/lib/pipx PIPX_BIN_DIR=/usr/local/bin pipx install \
ipython \ ipython \
pip-audit \ pip-audit \
pre-commit \
poetry \ poetry \
&& rm -rf /root/.cache && rm -rf /root/.cache