Update Dockerfiles with hadolint and actions #9
Triggered via pull request
September 28, 2023 07:50
Status
Success
Total duration
1m 16s
Artifacts
–
docker-pr.yml
on: pull_request
runner/test-docker-pr:ckan-2.9.9
1m 4s
Annotations
8 warnings and 1 notice
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile#L23
Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile#L23
Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile#L62
Use WORKDIR to switch to a directory
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile#L62
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
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile#L70
Use arguments JSON notation for CMD and ENTRYPOINT arguments
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile.ghcr#L23
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
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile.ghcr#L23
Use WORKDIR to switch to a directory
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile.ghcr#L37
Use arguments JSON notation for CMD and ENTRYPOINT arguments
|
runner/test-docker-pr:ckan-2.9.9:
ckan/Dockerfile.ghcr#L9
Multiple consecutive `RUN` instructions. Consider consolidation.
|