Skip to content

Add CI linting and security scan #3

Add CI linting and security scan

Add CI linting and security scan #3

Triggered via push April 17, 2024 16:43
Status Failure
Total duration 33s
Artifacts

lint.yml

on: push
Lint Shell Scripts with ShellCheck
4s
Lint Shell Scripts with ShellCheck
Lint Dockerfiles with Hadolint
6s
Lint Dockerfiles with Hadolint
Run Checkov for Dockerfile Security Analysis
21s
Run Checkov for Dockerfile Security Analysis
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
Lint Dockerfiles with Hadolint: 1.1.15/Dockerfile#L11
DL3003 warning: Use WORKDIR to switch to a directory
Lint Dockerfiles with Hadolint: 1.1.15/Dockerfile#L11
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfiles with Hadolint: 1.1.15/Dockerfile#L11
DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Lint Dockerfiles with Hadolint: 1.1.15/Dockerfile#L11
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Lint Dockerfiles with Hadolint: 1.1.15/Dockerfile#L11
SC2086 info: Double quote to prevent globbing and word splitting.
Lint Dockerfiles with Hadolint: 1.1.15/Dockerfile#L11
DL3047 info: Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`. Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`).
Lint Dockerfiles with Hadolint: 1.1.16/Dockerfile#L11
DL3003 warning: Use WORKDIR to switch to a directory
Lint Dockerfiles with Hadolint: 1.1.16/Dockerfile#L11
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfiles with Hadolint: 1.1.16/Dockerfile#L11
DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Lint Dockerfiles with Hadolint: 1.1.16/Dockerfile#L11
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Run Checkov for Dockerfile Security Analysis: 1.1.16/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: 1.1.20.1/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: 1.1.19.1/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: 1.1.15/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: 1.1.18/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: 1.1.17/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: 1.1.21.2/Dockerfile#L1
CKV_DOCKER_2: "Ensure that HEALTHCHECK instructions have been added to container images"
Run Checkov for Dockerfile Security Analysis: .github/workflows/lint.yml#L1
CKV2_GHA_1: "Ensure top-level permissions are not set to write-all"
Lint Shell Scripts with ShellCheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Dockerfiles with Hadolint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Dockerfiles with Hadolint
Unexpected input(s) 'dockerfile_folder', valid inputs are ['entryPoint', 'args', 'dockerfile', 'config', 'recursive', 'output-file', 'no-color', 'no-fail', 'verbose', 'format', 'failure-threshold', 'override-error', 'override-warning', 'override-info', 'override-style', 'ignore', 'trusted-registries']
Run Checkov for Dockerfile Security Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.