Skip to content
Snippets Groups Projects
Commit 31db3c45 authored by nimrod's avatar nimrod
Browse files

Updates.

- More pre-commit hooks.
- Fixes from said hooks.
- pipenv updates.
- pre-commit updates.
parent db1e1cab
No related branches found
No related tags found
No related merge requests found
# vim:ff=unix ts=2 sw=2 ai expandtab
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
rev: v2.3.0
hooks:
- id: check-yaml
- id: check-xml
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: v1.15.0
rev: v1.17.0
hooks:
- id: yamllint
- repo: https://github.com/amperser/proselint/
rev: 0.10.1
hooks:
- id: proselint
types: [plain-text]
exclude: LICENSE
- repo: https://www.shore.co.il/git/docker-pre-commit
rev: v0.3.0
hooks:
- id: hadolint
- id: docker-compose
# hadolint ignore=DL3006
FROM adarnimrod/cron as supersonic
FROM python:3.7-alpine
COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
# hadolint ignore=DL3013
RUN pip install --no-cache-dir pipenv
COPY Pipfile* /poquita/
WORKDIR /poquita
# hadolint ignore=DL3018
RUN apk add --update --no-cache --virtual .lxml-build build-base libxslt-dev && \
pipenv install --deploy --system && \
apk del .lxml-build && \
......
This diff is collapsed.
---
version: '2'
services:
- poquita:
poquita:
build:
context: ./
restart: on-failure
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment