Skip to content

Commit

Permalink
chore: Update pre-commit version and base (#106)
Browse files Browse the repository at this point in the history
* chore: Update pre-commit version and base
  • Loading branch information
aexvir authored Apr 16, 2020
1 parent f1565b7 commit c49348e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pre-commit/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM python:3.7-alpine
FROM python:3.8-alpine

ENV version=2.2.0

RUN apk add --no-cache git npm bash build-base && \
# npm needs unsafe-perm because of https://github.com/nodejs/docker-node/issues/813
npm config set unsafe-perm true && \
pip install pre-commit==1.18.3
pip install pre-commit==$version

CMD ["pre-commit"]

LABEL name=pre-commit version=1.18.3 \
maintainer="Jan Bednarik jan.bednarik@kiwi.com"
LABEL name=pre-commit version=$version \
maintainer="Kiwi.com Platform <software.platform@kiwi.com>"

0 comments on commit c49348e

Please sign in to comment.