Loading .dockerignore 0 → 100644 +1 −0 Original line number Diff line number Diff line * .gitignore 0 → 100644 +49 −0 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 .gitlab-ci.yml 0 → 100644 +19 −0 Original line number Diff line number Diff line --- image: adarnimrod/ci-images:docker stages: - test pre-commit: stage: test image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" # Disabled until https://github.com/pre-commit/pre-commit/issues/1387 is # resolved. SKIP: "hadolint,docker-compose" script: - pre-commit run --all-files cache: paths: - .cache/ .pre-commit-config.yaml 0 → 100644 +26 −0 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.3.0 hooks: - id: check-added-large-files - id: check-merge-conflict - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint rev: v1.17.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint/ rev: 0.10.2 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://git.shore.co.il/nimrod/docker-pre-commit.git/ rev: v0.3.0 hooks: - id: hadolint Dockerfile 0 → 100644 +9 −0 Original line number Diff line number Diff line FROM docker:19.03 as docker # hadolint ignore=DL3006 FROM adarnimrod/cron as supersonic COPY --from=docker /usr/local/bin/docker /usr/local/bin/ ADD https://git.shore.co.il/nimrod/rcfiles/-/raw/master/Documents/bin/_docker-update /usr/local/bin/docker-update # hadolint ignore=DL3002 USER root RUN echo '0 */12 * * * docker-update' > /crontab Loading
.gitignore 0 → 100644 +49 −0 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
.gitlab-ci.yml 0 → 100644 +19 −0 Original line number Diff line number Diff line --- image: adarnimrod/ci-images:docker stages: - test pre-commit: stage: test image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" # Disabled until https://github.com/pre-commit/pre-commit/issues/1387 is # resolved. SKIP: "hadolint,docker-compose" script: - pre-commit run --all-files cache: paths: - .cache/
.pre-commit-config.yaml 0 → 100644 +26 −0 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.3.0 hooks: - id: check-added-large-files - id: check-merge-conflict - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint rev: v1.17.0 hooks: - id: yamllint - repo: https://github.com/amperser/proselint/ rev: 0.10.2 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://git.shore.co.il/nimrod/docker-pre-commit.git/ rev: v0.3.0 hooks: - id: hadolint
Dockerfile 0 → 100644 +9 −0 Original line number Diff line number Diff line FROM docker:19.03 as docker # hadolint ignore=DL3006 FROM adarnimrod/cron as supersonic COPY --from=docker /usr/local/bin/docker /usr/local/bin/ ADD https://git.shore.co.il/nimrod/rcfiles/-/raw/master/Documents/bin/_docker-update /usr/local/bin/docker-update # hadolint ignore=DL3002 USER root RUN echo '0 */12 * * * docker-update' > /crontab