Skip to content
Snippets Groups Projects
Commit 601bcb9d authored by nimrod's avatar nimrod
Browse files

Initial Dockerfile and pre-commit-hooks.yaml.

To build the first image and start testing.
parent 313ddaae
No related branches found
No related tags found
No related merge requests found
# vim:ff=unix ts=2 sw=2 ai expandtab
---
- id: hadolint
name: Hadolint Dockerfile linter
description: Dockerfile linter, validate inline bash, written in Haskell
minimum_pre_commit_version: '0.18.0'
language: docker_image
entry: adarnimrod/docker-pre-commit hadolint
files: Dockerfile
- id: docker-compose
name: docker-compose config
description: Validate the docker-compose file
minimum_pre_commit_version: '0.18.0'
language: docker_image
entry: adarnimrod/docker-pre-commit docker-compose-config
files: docker-compose
types: [ yaml ]
FROM alpine:3.10
RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ docker-compose && \
wget https://github.com/hadolint/hadolint/releases/download/v1.17.1/hadolint-Linux-x86_64 -O /usr/local/bin/hadolint && \
chmod +x /usr/local/bin/hadolint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment