[pull] master from magma:master #2848
reviewdog [hadolint] report
reported by reviewdog 🐶
Findings (96)
.devcontainer/Dockerfile|15 col 1| Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
.devcontainer/Dockerfile|136 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
.devcontainer/Dockerfile|143 col 1| Use WORKDIR to switch to a directory
.devcontainer/bazel-base/Dockerfile|30 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
.devcontainer/bazel-base/Dockerfile|30 col 1| Delete the apt-get lists after installing something
.devcontainer/bazel-base/Dockerfile|73 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
.devcontainer/bazel-base/Dockerfile|91 col 1| Delete the apt-get lists after installing something
.devcontainer/bazel-base/Dockerfile|91 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
.devcontainer/bazel-base/Dockerfile|112 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
.devcontainer/bazel-base/Dockerfile|113 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
.devcontainer/bazel-base/Dockerfile|116 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
ci-scripts/docker/Dockerfile.mme.ci.rhel8|72 col 1| Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
ci-scripts/docker/Dockerfile.mme.ci.rhel8|84 col 1| Specify version with dnf install -y <package>-<version>
.
ci-scripts/docker/Dockerfile.mme.ci.ubuntu18|29 col 1| Use WORKDIR to switch to a directory
cwf/gateway/docker/c/Dockerfile|20 col 1| Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
cwf/gateway/docker/go/Dockerfile|99 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/go/Dockerfile|125 col 1| Always tag the version of an image explicitly
cwf/gateway/docker/python/Dockerfile|22 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/gateway/docker/python/Dockerfile|22 col 1| Avoid additional packages by specifying --no-install-recommends
dp/cloud/docker/python/configuration_controller/Dockerfile|15 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
dp/cloud/docker/python/test_runner/Dockerfile|15 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/go/Dockerfile|132 col 1| Always tag the version of an image explicitly
feg/gateway/docker/go/Dockerfile|138 col 1| Always tag the version of an image explicitly
feg/gateway/docker/python/Dockerfile|21 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/python/Dockerfile|21 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/ghz/Dockerfile|17 col 1| Always tag the version of an image explicitly
lte/gateway/docker/ghz/Dockerfile|21 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/ghz/Dockerfile|21 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/ghz/Dockerfile|43 col 1| Always tag the version of an image explicitly
lte/gateway/docker/ghz/Dockerfile|47 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/ghz/Dockerfile|47 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/ghz/Dockerfile|71 col 1| Always tag the version of an image explicitly
lte/gateway/docker/ghz/Dockerfile|77 col 1| Always tag the version of an image explicitly
lte/gateway/docker/mme/Dockerfile.rhel8|15 col 1| Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
lte/gateway/docker/mme/Dockerfile.rhel8|334 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|334 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|348 col 1| In POSIX sh, echo flags are undefined.
lte/gateway/docker/mme/Dockerfile.rhel8|348 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|379 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|380 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.rhel8|380 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|409 col 1| Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
lte/gateway/docker/mme/Dockerfile.rhel8|421 col 1| Specify version with dnf install -y <package>-<version>
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|66 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|66 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|66 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|66 col 1| Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|80 col 1| Avoid use of wget without progress bar. Use wget --progress=dot:giga <url>
. Or consider using -q
or -nv
(shorthands for --quiet
or --no-verbose
).
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|92 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|92 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|144 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|144 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|156 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|156 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|167 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|167 col 1| To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|191 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|191 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|198 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|198 col 1| To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|209 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|209 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|219 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|219 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|250 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|250 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|261 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|261 col 1| echo may not expand escape sequences. Use printf.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|292 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|293 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|293 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/services/c/Dockerfile|42 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/c/Dockerfile|42 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/c/Dockerfile|51 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/c/Dockerfile|51 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/c/Dockerfile|97 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/c/Dockerfile|97 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/c/Dockerfile|170 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/c/Dockerfile|170 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/c/Dockerfile|197 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/c/Dockerfile|197 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/python/Dockerfile|34 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/python/Dockerfile|34 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/python/Dockerfile|100 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/python/Dockerfile|100 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/services/python/Dockerfile|126 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/services/python/Dockerfile|127 col 1| 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
lte/gateway/docker/services/python/Dockerfile|129 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/services/python/Dockerfile|129 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
nms/Dockerfile|14 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
nms/Dockerfile|14 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
nms/Dockerfile|32 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
nms/Dockerfile|32 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
nms/mock/Dockerfile|28 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
nms/mock/Dockerfile|28 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
orc8r/cloud/docker/controller/Dockerfile|17 col 1| Do not use --platform flag with FROM
Filtered Findings (197)
.devcontainer/Dockerfile|49 col 1| Delete the apt-get lists after installing something
.devcontainer/Dockerfile|49 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
.devcontainer/Dockerfile|49 col 1| Pin versions in gem install. Instead of gem install <gem>
use gem install <gem>:<version>
.devcontainer/Dockerfile|95 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
.devcontainer/Dockerfile|95 col 1| Delete the apt-get lists after installing something
.devcontainer/Dockerfile|155 col 1| Use WORKDIR to switch to a directory
.devcontainer/Dockerfile|167 col 1| Use WORKDIR to switch to a directory
ci-scripts/docker/Dockerfile.mme.ci.rhel8|29 col 1| Use WORKDIR to switch to a directory
ci-scripts/docker/Dockerfile.mme.ci.rhel8|29 col 1| Double quote to prevent globbing and word splitting.
ci-scripts/docker/Dockerfile.mme.ci.rhel8|43 col 1| Use WORKDIR to switch to a directory
ci-scripts/docker/Dockerfile.mme.ci.rhel8|43 col 1| In POSIX sh, echo flags are undefined.
ci-scripts/docker/Dockerfile.mme.ci.ubuntu18|40 col 1| Use WORKDIR to switch to a directory
ci-scripts/docker/Dockerfile.mme.ci.ubuntu18|40 col 1| echo may not expand escape sequences. Use printf.
ci-scripts/docker/Dockerfile.mme.ci.ubuntu18|77 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
ci-scripts/docker/Dockerfile.mme.ci.ubuntu18|77 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/gateway/docker/go/Dockerfile|13 col 1| Always tag the version of an image explicitly
cwf/gateway/docker/go/Dockerfile|16 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/gateway/docker/go/Dockerfile|16 col 1| Delete the apt-get lists after installing something
cwf/gateway/docker/go/Dockerfile|16 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/gateway/docker/go/Dockerfile|24 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/gateway/docker/go/Dockerfile|24 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/gateway/docker/go/Dockerfile|24 col 1| Delete the apt-get lists after installing something
cwf/gateway/docker/go/Dockerfile|102 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/go/Dockerfile|103 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/go/Dockerfile|120 col 1| Double quote to prevent globbing and word splitting.
cwf/gateway/docker/go/Dockerfile|128 col 1| Delete the apt-get lists after installing something
cwf/gateway/docker/go/Dockerfile|128 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/gateway/docker/go/Dockerfile|128 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/gateway/docker/go/Dockerfile|139 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|13 col 1| Always tag the version of an image explicitly
cwf/gateway/docker/nginx/Dockerfile|16 col 1| Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead
cwf/gateway/docker/nginx/Dockerfile|20 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|21 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|22 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|23 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|26 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|27 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|31 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|32 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|34 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|38 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/nginx/Dockerfile|39 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|73 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/gateway/docker/python/Dockerfile|73 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/gateway/docker/python/Dockerfile|73 col 1| Delete the apt-get lists after installing something
cwf/gateway/docker/python/Dockerfile|82 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/gateway/docker/python/Dockerfile|82 col 1| Delete the apt-get lists after installing something
cwf/gateway/docker/python/Dockerfile|82 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/gateway/docker/python/Dockerfile|128 col 1| Use absolute WORKDIR
cwf/gateway/docker/python/Dockerfile|130 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|131 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|132 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|133 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|134 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|135 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/gateway/docker/python/Dockerfile|136 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
cwf/k8s/cwf_operator/docker/Dockerfile|15 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/k8s/cwf_operator/docker/Dockerfile|15 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/k8s/cwf_operator/docker/Dockerfile|19 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/k8s/cwf_operator/docker/Dockerfile|19 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/k8s/cwf_operator/docker/Dockerfile|73 col 1| Delete the apt-get lists after installing something
cwf/k8s/cwf_operator/docker/Dockerfile|73 col 1| Avoid additional packages by specifying --no-install-recommends
cwf/k8s/cwf_operator/docker/Dockerfile|73 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
cwf/k8s/cwf_operator/docker/Dockerfile|76 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
docs/docusaurus/Dockerfile|17 col 1| yarn cache clean
missing after yarn install
was run.
docs/readmes/Dockerfile|17 col 1| Pin versions in npm. Instead of npm install <package>
use npm install <package>@<version>
feg/gateway/docker/go/Dockerfile|16 col 1| Always tag the version of an image explicitly
feg/gateway/docker/go/Dockerfile|19 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/go/Dockerfile|19 col 1| Delete the apt-get lists after installing something
feg/gateway/docker/go/Dockerfile|19 col 1| Avoid additional packages by specifying --no-install-recommends
feg/gateway/docker/go/Dockerfile|26 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/go/Dockerfile|26 col 1| Avoid additional packages by specifying --no-install-recommends
feg/gateway/docker/go/Dockerfile|26 col 1| Delete the apt-get lists after installing something
feg/gateway/docker/go/Dockerfile|124 col 1| Double quote to prevent globbing and word splitting.
feg/gateway/docker/go/Dockerfile|145 col 1| Delete the apt-get lists after installing something
feg/gateway/docker/go/Dockerfile|145 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/go/Dockerfile|145 col 1| Avoid additional packages by specifying --no-install-recommends
feg/gateway/docker/go/Dockerfile|159 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
feg/gateway/docker/go/Dockerfile|160 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
feg/gateway/docker/python/Dockerfile|78 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/python/Dockerfile|78 col 1| Avoid additional packages by specifying --no-install-recommends
feg/gateway/docker/python/Dockerfile|78 col 1| Delete the apt-get lists after installing something
feg/gateway/docker/python/Dockerfile|83 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
feg/gateway/docker/python/Dockerfile|88 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
feg/gateway/docker/python/Dockerfile|88 col 1| Avoid additional packages by specifying --no-install-recommends
feg/gateway/docker/python/Dockerfile|88 col 1| Delete the apt-get lists after installing something
feg/gateway/docker/python/Dockerfile|132 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
feg/gateway/docker/radius/Dockerfile|13 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
feg/gateway/docker/radius/Dockerfile|13 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
feg/gateway/docker/radius/Dockerfile|15 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
feg/gateway/docker/radius/Dockerfile|37 col 1| Always tag the version of an image explicitly
feg/gateway/docker/radius/Dockerfile|38 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
feg/gateway/docker/radius/Dockerfile|38 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
feg/radius/src/Dockerfile|13 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
feg/radius/src/Dockerfile|13 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
feg/radius/src/Dockerfile|29 col 1| Always tag the version of an image explicitly
feg/radius/src/Dockerfile|30 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
feg/radius/src/Dockerfile|30 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
feg/radius/src/lb.Dockerfile|15 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
feg/radius/src/lb.Dockerfile|15 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
feg/radius/src/lb.Dockerfile|20 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
feg/radius/src/lb.Dockerfile|24 col 1| Always tag the version of an image explicitly
feg/radius/src/lb.Dockerfile|25 col 1| Use the --no-cache
switch to avoid the need to use --update
and remove /var/cache/apk/*
when done installing packages
feg/radius/src/lb.Dockerfile|25 col 1| Pin versions in apk add. Instead of apk add <package>
use apk add <package>=<version>
lte/gateway/docker/deploy/Dockerfile|12 col 1| Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
lte/gateway/docker/deploy/Dockerfile|14 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
lte/gateway/docker/deploy/Dockerfile|14 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/deploy/Dockerfile|14 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/deploy/Dockerfile|14 col 1| Delete the apt-get lists after installing something
lte/gateway/docker/deploy/Dockerfile|24 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/deploy/Dockerfile|32 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.rhel8|30 col 1| yum clean all
missing after yum command.
lte/gateway/docker/mme/Dockerfile.rhel8|30 col 1| Specify version with yum install -y <package>-<version>
.
lte/gateway/docker/mme/Dockerfile.rhel8|64 col 1| yum clean all
missing after yum command.
lte/gateway/docker/mme/Dockerfile.rhel8|64 col 1| Specify version with yum install -y <package>-<version>
.
lte/gateway/docker/mme/Dockerfile.rhel8|112 col 1| Specify version with yum install -y <package>-<version>
.
lte/gateway/docker/mme/Dockerfile.rhel8|112 col 1| yum clean all
missing after yum command.
lte/gateway/docker/mme/Dockerfile.rhel8|126 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
lte/gateway/docker/mme/Dockerfile.rhel8|126 col 1| Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
lte/gateway/docker/mme/Dockerfile.rhel8|126 col 1| Specify version with yum install -y <package>-<version>
.
lte/gateway/docker/mme/Dockerfile.rhel8|146 col 1| Avoid use of wget without progress bar. Use wget --progress=dot:giga <url>
. Or consider using -q
or -nv
(shorthands for --quiet
or --no-verbose
).
lte/gateway/docker/mme/Dockerfile.rhel8|158 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|158 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|211 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|211 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|223 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|223 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|234 col 1| To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
lte/gateway/docker/mme/Dockerfile.rhel8|234 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|259 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|259 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|266 col 1| To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
lte/gateway/docker/mme/Dockerfile.rhel8|266 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|277 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|277 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|287 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|287 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|305 col 1| Use $(...) notation instead of legacy backticks ...
.
lte/gateway/docker/mme/Dockerfile.rhel8|305 col 1| Use WORKDIR to switch to a directory
lte/gateway/docker/mme/Dockerfile.rhel8|382 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|383 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.rhel8|383 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|391 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|392 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.rhel8|392 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|393 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.rhel8|393 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.rhel8|396 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|26 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|26 col 1| Delete the apt-get lists after installing something
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|26 col 1| Avoid use of wget without progress bar. Use wget --progress=dot:giga <url>
. Or consider using -q
or -nv
(shorthands for --quiet
or --no-verbose
).
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|26 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|26 col 1| 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
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|41 col 1| Delete the apt-get lists after installing something
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|41 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|41 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|295 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|296 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|296 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|304 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|305 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|305 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|306 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|306 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|309 col 1| Double quote to prevent globbing and word splitting.
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|330 col 1| Avoid additional packages by specifying --no-install-recommends
lte/gateway/docker/mme/Dockerfile.ubuntu18.04|330 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
orc8r/cloud/deploy/orc8r_deployer/docker/Dockerfile|18 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
... (Too many findings. Dropped some findings)
Annotations
Check warning on line 15 in .devcontainer/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/Dockerfile#L15 <DL3007>(https://github.com/hadolint/hadolint/wiki/DL3007)
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
Raw output
message:"Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag" location:{path:".devcontainer/Dockerfile" range:{start:{line:15 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3007" url:"https://github.com/hadolint/hadolint/wiki/DL3007"}
Check warning on line 136 in .devcontainer/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/Dockerfile#L136 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:".devcontainer/Dockerfile" range:{start:{line:136 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check warning on line 143 in .devcontainer/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/Dockerfile#L143 <DL3003>(https://github.com/hadolint/hadolint/wiki/DL3003)
Use WORKDIR to switch to a directory
Raw output
message:"Use WORKDIR to switch to a directory" location:{path:".devcontainer/Dockerfile" range:{start:{line:143 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3003" url:"https://github.com/hadolint/hadolint/wiki/DL3003"}
Check warning on line 30 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L30 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:30 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check notice on line 30 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L30 <DL3009>(https://github.com/hadolint/hadolint/wiki/DL3009)
Delete the apt-get lists after installing something
Raw output
message:"Delete the apt-get lists after installing something" location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:30 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3009" url:"https://github.com/hadolint/hadolint/wiki/DL3009"}
Check warning on line 73 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L73 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:73 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check notice on line 91 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L91 <DL3009>(https://github.com/hadolint/hadolint/wiki/DL3009)
Delete the apt-get lists after installing something
Raw output
message:"Delete the apt-get lists after installing something" location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:91 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3009" url:"https://github.com/hadolint/hadolint/wiki/DL3009"}
Check warning on line 91 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L91 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:91 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check notice on line 112 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L112 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)
Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:112 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
Check notice on line 113 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L113 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)
Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:113 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
Check notice on line 116 in .devcontainer/bazel-base/Dockerfile
github-actions / hadolint
[hadolint] .devcontainer/bazel-base/Dockerfile#L116 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)
Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:".devcontainer/bazel-base/Dockerfile" range:{start:{line:116 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
Check warning on line 72 in ci-scripts/docker/Dockerfile.mme.ci.rhel8
github-actions / hadolint
[hadolint] ci-scripts/docker/Dockerfile.mme.ci.rhel8#L72 <DL3007>(https://github.com/hadolint/hadolint/wiki/DL3007)
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
Raw output
message:"Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag" location:{path:"ci-scripts/docker/Dockerfile.mme.ci.rhel8" range:{start:{line:72 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3007" url:"https://github.com/hadolint/hadolint/wiki/DL3007"}
Check warning on line 84 in ci-scripts/docker/Dockerfile.mme.ci.rhel8
github-actions / hadolint
[hadolint] ci-scripts/docker/Dockerfile.mme.ci.rhel8#L84 <DL3041>(https://github.com/hadolint/hadolint/wiki/DL3041)
Specify version with `dnf install -y <package>-<version>`.
Raw output
message:"Specify version with `dnf install -y <package>-<version>`." location:{path:"ci-scripts/docker/Dockerfile.mme.ci.rhel8" range:{start:{line:84 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3041" url:"https://github.com/hadolint/hadolint/wiki/DL3041"}
Check warning on line 29 in ci-scripts/docker/Dockerfile.mme.ci.ubuntu18
github-actions / hadolint
[hadolint] ci-scripts/docker/Dockerfile.mme.ci.ubuntu18#L29 <DL3003>(https://github.com/hadolint/hadolint/wiki/DL3003)
Use WORKDIR to switch to a directory
Raw output
message:"Use WORKDIR to switch to a directory" location:{path:"ci-scripts/docker/Dockerfile.mme.ci.ubuntu18" range:{start:{line:29 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3003" url:"https://github.com/hadolint/hadolint/wiki/DL3003"}
Check warning on line 20 in cwf/gateway/docker/c/Dockerfile
github-actions / hadolint
[hadolint] cwf/gateway/docker/c/Dockerfile#L20 <DL3007>(https://github.com/hadolint/hadolint/wiki/DL3007)
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
Raw output
message:"Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag" location:{path:"cwf/gateway/docker/c/Dockerfile" range:{start:{line:20 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3007" url:"https://github.com/hadolint/hadolint/wiki/DL3007"}
Check notice on line 99 in cwf/gateway/docker/go/Dockerfile
github-actions / hadolint
[hadolint] cwf/gateway/docker/go/Dockerfile#L99 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)
Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:"cwf/gateway/docker/go/Dockerfile" range:{start:{line:99 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
Check warning on line 125 in cwf/gateway/docker/go/Dockerfile
github-actions / hadolint
[hadolint] cwf/gateway/docker/go/Dockerfile#L125 <DL3006>(https://github.com/hadolint/hadolint/wiki/DL3006)
Always tag the version of an image explicitly
Raw output
message:"Always tag the version of an image explicitly" location:{path:"cwf/gateway/docker/go/Dockerfile" range:{start:{line:125 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3006" url:"https://github.com/hadolint/hadolint/wiki/DL3006"}
Check warning on line 22 in cwf/gateway/docker/python/Dockerfile
github-actions / hadolint
[hadolint] cwf/gateway/docker/python/Dockerfile#L22 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:"cwf/gateway/docker/python/Dockerfile" range:{start:{line:22 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check notice on line 22 in cwf/gateway/docker/python/Dockerfile
github-actions / hadolint
[hadolint] cwf/gateway/docker/python/Dockerfile#L22 <DL3015>(https://github.com/hadolint/hadolint/wiki/DL3015)
Avoid additional packages by specifying `--no-install-recommends`
Raw output
message:"Avoid additional packages by specifying `--no-install-recommends`" location:{path:"cwf/gateway/docker/python/Dockerfile" range:{start:{line:22 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3015" url:"https://github.com/hadolint/hadolint/wiki/DL3015"}
Check warning on line 15 in dp/cloud/docker/python/configuration_controller/Dockerfile
github-actions / hadolint
[hadolint] dp/cloud/docker/python/configuration_controller/Dockerfile#L15 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:"dp/cloud/docker/python/configuration_controller/Dockerfile" range:{start:{line:15 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check warning on line 15 in dp/cloud/docker/python/test_runner/Dockerfile
github-actions / hadolint
[hadolint] dp/cloud/docker/python/test_runner/Dockerfile#L15 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:"dp/cloud/docker/python/test_runner/Dockerfile" range:{start:{line:15 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check warning on line 132 in feg/gateway/docker/go/Dockerfile
github-actions / hadolint
[hadolint] feg/gateway/docker/go/Dockerfile#L132 <DL3006>(https://github.com/hadolint/hadolint/wiki/DL3006)
Always tag the version of an image explicitly
Raw output
message:"Always tag the version of an image explicitly" location:{path:"feg/gateway/docker/go/Dockerfile" range:{start:{line:132 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3006" url:"https://github.com/hadolint/hadolint/wiki/DL3006"}
Check warning on line 138 in feg/gateway/docker/go/Dockerfile
github-actions / hadolint
[hadolint] feg/gateway/docker/go/Dockerfile#L138 <DL3006>(https://github.com/hadolint/hadolint/wiki/DL3006)
Always tag the version of an image explicitly
Raw output
message:"Always tag the version of an image explicitly" location:{path:"feg/gateway/docker/go/Dockerfile" range:{start:{line:138 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3006" url:"https://github.com/hadolint/hadolint/wiki/DL3006"}
Check warning on line 21 in feg/gateway/docker/python/Dockerfile
github-actions / hadolint
[hadolint] feg/gateway/docker/python/Dockerfile#L21 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)
Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:"feg/gateway/docker/python/Dockerfile" range:{start:{line:21 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}
Check notice on line 21 in feg/gateway/docker/python/Dockerfile
github-actions / hadolint
[hadolint] feg/gateway/docker/python/Dockerfile#L21 <DL3015>(https://github.com/hadolint/hadolint/wiki/DL3015)
Avoid additional packages by specifying `--no-install-recommends`
Raw output
message:"Avoid additional packages by specifying `--no-install-recommends`" location:{path:"feg/gateway/docker/python/Dockerfile" range:{start:{line:21 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3015" url:"https://github.com/hadolint/hadolint/wiki/DL3015"}