Results 223 comments of waja

@RincewindsHat so same counts for #1749?

> Need for preview picture format HEIC imagemagick-heic @Moimemeici I tried this change, but unfortunately I don't get the images previewed. So what else is needed to support HEIC preview?...

Hmm .. I see the problem (`source can't be a URL for COPY`) ... the issue mentioned in CIS-DI-0009 is still valid. But I can't imagine a way to solve...

> This can be simplified by using the `--checksum` parameter of the `ADD` command. Okay ... this seems "pretty" new ... :) Didn't recognised it yet. Changed the PR.

Seems like `hadolint` doesn't like (or know) about `--checksum`: ``` DOCKERFILE_HADOLINT 2025-05-15 10:24:06 [INFO] Linting DOCKERFILE_HADOLINT items... Error: -15 10:24:07 [ERROR] Found errors when linting DOCKERFILE_HADOLINT. Exit code: 1. 2025-05-15...

I moved the `--checksum` to the end of the `ADD` statement and `hadolint` is working well about this, but my local test is complaining about `DL3020 error: Use COPY instead...

The latest CI run revealed that `hadolint` is also complaining there. But the bigger issue is, it seems the build environment seems to have issues with the `ADD` syntax.

@tobiasge I added a inline hadolint ignore, so this check is not disabled globally

``` #10 [main 3/18] ADD https://unit.nginx.org/keys/nginx-keyring.gpg /usr/share/keyrings/nginx-keyring.gpg --chmod=444 --chown=0:0 --checksum=sha256:7d3d5a7adf37e17d6882e2f6f55324b9a8f978ef3c99c50fe801af67c9847c91 #10 ERROR: failed to calculate checksum of ref cgo21278a3kk11hgospq0tdf7::pimc1tpuoeefuzy1txmbj1vnq: "/--chown=0:0": not found ``` When using the [workaround](https://github.com/hadolint/hadolint/issues/985#issuecomment-2460080556) not complaining hadolint,...

Unfortunately hadolint [hasn't a new release yet](https://github.com/hadolint/hadolint/issues/1081) and so also super-linter 8 has no fixed hadolint.