Update Dockerfiles with hadolint and actions #7
docker-pr.yml
on: pull_request
runner/test-docker-pr:ckan-2.9.9
55s
Annotations
5 warnings
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
|