From 76db8530cc2ae67a8dd8ca58224d3962de52c5dc Mon Sep 17 00:00:00 2001 From: Christian Loos Date: Sun, 19 May 2024 14:53:38 +0200 Subject: [PATCH] update super-linter --- .github/workflows/linter.yml | 5 ++++- 4.4/Dockerfile | 2 ++ 5.0/Dockerfile | 2 ++ Dockerfile.template | 2 ++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 1e597bd..a9c79ac 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -5,6 +5,9 @@ on: push: pull_request: +permissions: + contents: read + jobs: build: name: Lint Code Base @@ -17,7 +20,7 @@ jobs: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter/slim@v5 + uses: github/super-linter/slim@v6 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main diff --git a/4.4/Dockerfile b/4.4/Dockerfile index a855589..dd82635 100644 --- a/4.4/Dockerfile +++ b/4.4/Dockerfile @@ -1,3 +1,5 @@ +#checkov:skip=CKV_DOCKER_2:Ensure that HEALTHCHECK instructions have been added to container images +#checkov:skip=CKV_DOCKER_3:Ensure that a user for the container has been created ARG IMAGE=netsandbox/request-tracker-base ARG TAG=latest FROM ${IMAGE}:${TAG} diff --git a/5.0/Dockerfile b/5.0/Dockerfile index 271b500..e1afefb 100644 --- a/5.0/Dockerfile +++ b/5.0/Dockerfile @@ -1,3 +1,5 @@ +#checkov:skip=CKV_DOCKER_2:Ensure that HEALTHCHECK instructions have been added to container images +#checkov:skip=CKV_DOCKER_3:Ensure that a user for the container has been created ARG IMAGE=netsandbox/request-tracker-base ARG TAG=latest FROM ${IMAGE}:${TAG} diff --git a/Dockerfile.template b/Dockerfile.template index f765f4c..01dbeaf 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,3 +1,5 @@ +#checkov:skip=CKV_DOCKER_2:Ensure that HEALTHCHECK instructions have been added to container images +#checkov:skip=CKV_DOCKER_3:Ensure that a user for the container has been created ARG IMAGE=netsandbox/request-tracker-base ARG TAG=latest FROM ${IMAGE}:${TAG}