Skip to content

Commit 017da74

Browse files
authored
feat: Add support for pre-commit/pre-commit-hooks in Docker image (antonbabenko#374)
1 parent b4d8fd9 commit 017da74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ RUN apk add --no-cache \
161161
# pre-commit deps
162162
git=~2 \
163163
# All hooks deps
164-
bash=~5
164+
bash=~5 \
165+
# pre-commit-hooks deps: https://github.com/pre-commit/pre-commit-hooks
166+
musl-dev=~1 \
167+
gcc=~10
165168

166169
# Copy tools
167170
COPY --from=builder \

0 commit comments

Comments
 (0)