Loading .dockerignore 0 → 100644 +2 −0 Changes for .dockerignore: 2 added lines, 0 removed lines. Original line number Diff line number Diff line * !docker-compose-config .gitignore 0 → 100644 +49 −0 Changes for .gitignore: 49 added lines, 0 removed lines. Original line number Diff line number Diff line ~* *~ *.sw[op] *.py[cod] .DS_Store __pycache__/ .vagrant/ vendor/ Thumbs.db *.retry .svn/ .sass-cache/ *.log *.out *.so node_modules/ .npm/ nbproject/ *.ipynb .idea/ *.egg-info/ *.[ao] .classpath .cache/ bower_components/ *.class *.[ewj]ar secring.* .*.kate-swp .swp.* .directory .Trash-* build/ _build/ dist/ .tox/ *.pdf *.exe *.dll *.gz *.tgz *.tar *.rar *.zip *.pid *.lock *.env .bundle/ !Pipfile.lock .pre-commit-config.yaml 0 → 100644 +43 −0 Changes for .pre-commit-config.yaml: 43 added lines, 0 removed lines. Original line number Diff line number Diff line # vim:ff=unix ts=2 sw=2 ai expandtab --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.2.3 hooks: - id: check-added-large-files - id: check-executables-have-shebangs - id: check-merge-conflict - id: detect-private-key - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint rev: v1.16.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint rev: 0.10.2 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://www.shore.co.il/git/shell-pre-commit/ rev: v0.6.0 hooks: - id: shell-lint - id: shellcheck - repo: local hooks: - id: hadolint name: Hadolint Dockerfile linter description: Dockerfile linter, validate inline bash, written in Haskell minimum_pre_commit_version: '0.18.0' language: docker entry: hadolint files: Dockerfile - id: docker-compose name: docker-compose config description: Validate the Docker Compose file using docker-compose config minimum_pre_commit_version: '0.18.0' language: docker entry: docker-compose-config files: docker-compose types: [ yaml ] .pre-commit-hooks.yaml +2 −2 Changes for .pre-commit-hooks.yaml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -6,10 +6,10 @@ minimum_pre_commit_version: '0.18.0' language: docker_image entry: adarnimrod/docker-pre-commit hadolint files: Dockerfile type: [ dockerfile ] - id: docker-compose name: docker-compose config description: Validate the docker-compose file description: Validate the Docker Compose file using docker-compose config minimum_pre_commit_version: '0.18.0' language: docker_image entry: adarnimrod/docker-pre-commit docker-compose-config Loading Dockerfile +1 −0 Changes for Dockerfile: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ 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 COPY docker-compose-config /usr/local/bin/ Loading
.dockerignore 0 → 100644 +2 −0 Changes for .dockerignore: 2 added lines, 0 removed lines. Original line number Diff line number Diff line * !docker-compose-config
.gitignore 0 → 100644 +49 −0 Changes for .gitignore: 49 added lines, 0 removed lines. Original line number Diff line number Diff line ~* *~ *.sw[op] *.py[cod] .DS_Store __pycache__/ .vagrant/ vendor/ Thumbs.db *.retry .svn/ .sass-cache/ *.log *.out *.so node_modules/ .npm/ nbproject/ *.ipynb .idea/ *.egg-info/ *.[ao] .classpath .cache/ bower_components/ *.class *.[ewj]ar secring.* .*.kate-swp .swp.* .directory .Trash-* build/ _build/ dist/ .tox/ *.pdf *.exe *.dll *.gz *.tgz *.tar *.rar *.zip *.pid *.lock *.env .bundle/ !Pipfile.lock
.pre-commit-config.yaml 0 → 100644 +43 −0 Changes for .pre-commit-config.yaml: 43 added lines, 0 removed lines. Original line number Diff line number Diff line # vim:ff=unix ts=2 sw=2 ai expandtab --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.2.3 hooks: - id: check-added-large-files - id: check-executables-have-shebangs - id: check-merge-conflict - id: detect-private-key - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint rev: v1.16.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint rev: 0.10.2 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://www.shore.co.il/git/shell-pre-commit/ rev: v0.6.0 hooks: - id: shell-lint - id: shellcheck - repo: local hooks: - id: hadolint name: Hadolint Dockerfile linter description: Dockerfile linter, validate inline bash, written in Haskell minimum_pre_commit_version: '0.18.0' language: docker entry: hadolint files: Dockerfile - id: docker-compose name: docker-compose config description: Validate the Docker Compose file using docker-compose config minimum_pre_commit_version: '0.18.0' language: docker entry: docker-compose-config files: docker-compose types: [ yaml ]
.pre-commit-hooks.yaml +2 −2 Changes for .pre-commit-hooks.yaml: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -6,10 +6,10 @@ minimum_pre_commit_version: '0.18.0' language: docker_image entry: adarnimrod/docker-pre-commit hadolint files: Dockerfile type: [ dockerfile ] - id: docker-compose name: docker-compose config description: Validate the docker-compose file description: Validate the Docker Compose file using docker-compose config minimum_pre_commit_version: '0.18.0' language: docker_image entry: adarnimrod/docker-pre-commit docker-compose-config Loading
Dockerfile +1 −0 Changes for Dockerfile: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ 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 COPY docker-compose-config /usr/local/bin/