mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: Add support for pre-commit/pre-commit-hooks in Docker image (#374)
This commit is contained in:
parent
b4d8fd9752
commit
017da745d0
1 changed files with 4 additions and 1 deletions
|
|
@ -161,7 +161,10 @@ RUN apk add --no-cache \
|
||||||
# pre-commit deps
|
# pre-commit deps
|
||||||
git=~2 \
|
git=~2 \
|
||||||
# All hooks deps
|
# All hooks deps
|
||||||
bash=~5
|
bash=~5 \
|
||||||
|
# pre-commit-hooks deps: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
musl-dev=~1 \
|
||||||
|
gcc=~10
|
||||||
|
|
||||||
# Copy tools
|
# Copy tools
|
||||||
COPY --from=builder \
|
COPY --from=builder \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue