Skip to content

Set secure SHELL options before RUN #12

Set secure SHELL options before RUN

Set secure SHELL options before RUN #12

Triggered via push April 25, 2024 22:12
Status Failure
Total duration 30s
Artifacts

lint.yml

on: push
Lint Shell Scripts with ShellCheck
4s
Lint Shell Scripts with ShellCheck
Lint Dockerfiles with Hadolint
5s
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

7 errors and 3 warnings
Lint Dockerfiles with Hadolint: 1.1.21.2/Dockerfile#L10
DL3003 info: Use WORKDIR to switch to a directory
Lint Dockerfiles with Hadolint: 1.1.21.2/Dockerfile#L10
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfiles with Hadolint: 1.1.21.2/Dockerfile#L10
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.21.2/Dockerfile#L10
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.21.2/Dockerfile#L10
SC2086 info: Double quote to prevent globbing and word splitting.
Lint Dockerfiles with Hadolint: 1.1.21.2/Dockerfile#L10
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.21.2/Dockerfile#L59
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
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/.
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/.