Skip to content

feat: add Docker linting #1

feat: add Docker linting

feat: add Docker linting #1

Triggered via push July 25, 2024 10:04
Status Success
Total duration 15s
Artifacts

hadolint.yml

on: push
hadolint
5s
hadolint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
hadolint: Dockerfile#L27
DL3003 warning: Use WORKDIR to switch to a directory
hadolint: Dockerfile#L27
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
hadolint: Dockerfile#L27
SC2086 info: Double quote to prevent globbing and word splitting.
hadolint: Dockerfile#L27
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
hadolint: Dockerfile#L92
SC2046 warning: Quote this to prevent word splitting.
hadolint: Dockerfile#L92
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
hadolint: Dockerfile#L92
DL3003 warning: Use WORKDIR to switch to a directory
hadolint: Dockerfile#L128
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
hadolint: Dockerfile#L128
DL3003 warning: Use WORKDIR to switch to a directory
hadolint: Dockerfile#L128
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