Skip to content

added permission

f6275b2
Select commit
Loading
Failed to load commit list.
Open

Initial commit: Trivy scanning test repository #1

added permission
f6275b2
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Hadolint failed Jan 30, 2026 in 3s

8 new alerts including 3 errors

New alerts in code changed by this pull request

  • 3 errors
  • 4 warnings
  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 7 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Use COPY instead of ADD for files and folders Error

Use COPY instead of ADD for files and folders

Check failure on line 10 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Use COPY instead of ADD for files and folders Error

Use COPY instead of ADD for files and folders

Check failure on line 11 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Use COPY instead of ADD for files and folders Error

Use COPY instead of ADD for files and folders

Check warning on line 2 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag Warning

Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag

Check warning on line 4 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Use WORKDIR to switch to a directory Warning

Use WORKDIR to switch to a directory

Check warning on line 18 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Pin versions in apk add. Instead of apk add <package> use apk add <package>=<version> Warning

Pin versions in apk add. Instead of apk add <package> use apk add <package>=<version>

Check warning on line 35 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Use arguments JSON notation for CMD and ENTRYPOINT arguments Warning

Use arguments JSON notation for CMD and ENTRYPOINT arguments

Check notice on line 18 in Dockerfile

See this annotation in the file changed.

Code scanning / Hadolint

Use the --no-cache switch to avoid the need to use --update and remove /var/cache/apk/* when done installing packages Note

Use the --no-cache switch to avoid the need to use --update and remove /var/cache/apk/* when done installing packages