Skip to content

Commit

Permalink
First version of docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
devste committed Apr 25, 2019
1 parent 88d99ff commit 9f3506e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
fail_fast: false
repos:
- repo: https://github.com/digitalpulp/pre-commit-php
rev: 1.3.0
hooks:
- id: php-cbf
verbose: true
stages: [manual]
types: [php]
- repo: https://github.com/digitalpulp/pre-commit-php
rev: 1.3.0
hooks:
- id: php-cs
verbose: true
types: [php]
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM petzi/pre-commit:1.15.2-7
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php-codesniffer \
&& rm -rf /var/lib/apt/lists/*
COPY .pre-commit-config.yaml /

0 comments on commit 9f3506e

Please sign in to comment.