feat(hadoop): Add hdfs-utils #566
reviewdog [hadolint] report
reported by reviewdog 🐶
Findings (2)
hadoop/Dockerfile|145 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hadoop/Dockerfile|145 col 1| Double quote to prevent globbing and word splitting.
Filtered Findings (87)
airflow/Dockerfile|8 col 1| Always tag the version of an image explicitly
airflow/Dockerfile|25 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
airflow/Dockerfile|25 col 1| Specify version with dnf install -y <package>-<version>
.
airflow/Dockerfile|25 col 1| Use the -y switch to avoid manual input dnf install -y <package
airflow/Dockerfile|25 col 1| Not following: File not included in mock.
airflow/Dockerfile|53 col 1| Always tag the version of an image explicitly
airflow/Dockerfile|73 col 1| Specify version with dnf install -y <package>-<version>
.
airflow/Dockerfile|73 col 1| Use the -y switch to avoid manual input dnf install -y <package
druid/Dockerfile|4 col 1| Always tag the version of an image explicitly
druid/Dockerfile|24 col 1| Use the -y switch to avoid manual input dnf install -y <package
druid/Dockerfile|24 col 1| Specify version with dnf install -y <package>-<version>
.
hadoop/Dockerfile|2 col 1| Always tag the version of an image explicitly
hadoop/Dockerfile|17 col 1| Use the -y switch to avoid manual input dnf install -y <package
hadoop/Dockerfile|17 col 1| Specify version with dnf install -y <package>-<version>
.
hadoop/Dockerfile|94 col 1| Always tag the version of an image explicitly
hadoop/Dockerfile|114 col 1| Specify version with dnf install -y <package>-<version>
.
hadoop/Dockerfile|114 col 1| Use the -y switch to avoid manual input dnf install -y <package
hadoop/Dockerfile|149 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hbase/Dockerfile|2 col 1| Always tag the version of an image explicitly
hbase/Dockerfile|18 col 1| Specify version with dnf install -y <package>-<version>
.
hbase/Dockerfile|18 col 1| Use the -y switch to avoid manual input dnf install -y <package
hbase/Dockerfile|43 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hbase/Dockerfile|44 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hbase/Dockerfile|45 col 1| Use WORKDIR to switch to a directory
hbase/Dockerfile|66 col 1| Expressions don't expand in single quotes, use double quotes for that.
hbase/Dockerfile|121 col 1| Always tag the version of an image explicitly
hbase/Dockerfile|141 col 1| Specify version with dnf install -y <package>-<version>
.
hbase/Dockerfile|141 col 1| Use the -y switch to avoid manual input dnf install -y <package
hello-world/Dockerfile|2 col 1| Always tag the version of an image explicitly
hive/Dockerfile|2 col 1| Always tag the version of an image explicitly
hive/Dockerfile|25 col 1| Use the -y switch to avoid manual input dnf install -y <package
hive/Dockerfile|25 col 1| Specify version with dnf install -y <package>-<version>
.
java-base/Dockerfile|2 col 1| Always tag the version of an image explicitly
java-base/Dockerfile|18 col 1| Use the -y switch to avoid manual input dnf install -y <package
kafka/Dockerfile|2 col 1| Always tag the version of an image explicitly
kafka/Dockerfile|6 col 1| Specify version with dnf install -y <package>-<version>
.
kafka/Dockerfile|11 col 1| Use WORKDIR to switch to a directory
kafka/Dockerfile|16 col 1| Always tag the version of an image explicitly
kafka/Dockerfile|37 col 1| Specify version with dnf install -y <package>-<version>
.
kafka/Dockerfile|37 col 1| Use the -y switch to avoid manual input dnf install -y <package
nifi/Dockerfile|2 col 1| Always tag the version of an image explicitly
nifi/Dockerfile|18 col 1| Specify version with dnf install -y <package>-<version>
.
nifi/Dockerfile|18 col 1| Use the -y switch to avoid manual input dnf install -y <package
nifi/Dockerfile|43 col 1| Use WORKDIR to switch to a directory
omid/Dockerfile|2 col 1| Always tag the version of an image explicitly
omid/Dockerfile|6 col 1| Use the -y switch to avoid manual input dnf install -y <package
omid/Dockerfile|6 col 1| Specify version with dnf install -y <package>-<version>
.
omid/Dockerfile|22 col 1| Ensure the shebang uses an absolute path to the interpreter.
omid/Dockerfile|25 col 1| Ensure the shebang uses an absolute path to the interpreter.
omid/Dockerfile|39 col 1| Ensure the shebang uses an absolute path to the interpreter.
omid/Dockerfile|48 col 1| Ensure the shebang uses an absolute path to the interpreter.
omid/Dockerfile|51 col 1| Always tag the version of an image explicitly
opa/Dockerfile|2 col 1| Always tag the version of an image explicitly
opa/Dockerfile|10 col 1| Specify version with dnf install -y <package>-<version>
.
opa/Dockerfile|19 col 1| Use WORKDIR to switch to a directory
opa/Dockerfile|19 col 1| Double quote to prevent globbing and word splitting.
opa/Dockerfile|21 col 1| Always tag the version of an image explicitly
opa/Dockerfile|30 col 1| Specify version with dnf install -y <package>-<version>
.
opa/Dockerfile|30 col 1| Specify version with yum install -y <package>-<version>
.
opa/Dockerfile|49 col 1| Always tag the version of an image explicitly
opa/Dockerfile|67 col 1| Use the -y switch to avoid manual input dnf install -y <package
opa/Dockerfile|67 col 1| Specify version with dnf install -y <package>-<version>
.
spark-k8s/Dockerfile|2 col 1| Always tag the version of an image explicitly
spark-k8s/Dockerfile|31 col 1| Use the -y switch to avoid manual input dnf install -y <package
spark-k8s/Dockerfile|31 col 1| Specify version with dnf install -y <package>-<version>
.
spark-k8s/Dockerfile|56 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
superset/Dockerfile|4 col 1| Always tag the version of an image explicitly
superset/Dockerfile|18 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
superset/Dockerfile|18 col 1| Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
superset/Dockerfile|18 col 1| Specify version with dnf install -y <package>-<version>
.
superset/Dockerfile|18 col 1| Use -n instead of ! -z.
superset/Dockerfile|75 col 1| Always tag the version of an image explicitly
superset/Dockerfile|96 col 1| In POSIX sh, string replacement is undefined.
superset/Dockerfile|96 col 1| Specify version with dnf install -y <package>-<version>
.
testing-tools/Dockerfile|23 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
testing-tools/Dockerfile|58 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
tools/Dockerfile|2 col 1| Always tag the version of an image explicitly
tools/Dockerfile|20 col 1| Use the -y switch to avoid manual input dnf install -y <package
tools/Dockerfile|20 col 1| Specify version with dnf install -y <package>-<version>
.
trino/Dockerfile|2 col 1| Always tag the version of an image explicitly
trino/Dockerfile|23 col 1| Use the -y switch to avoid manual input dnf install -y <package
trino/Dockerfile|23 col 1| Specify version with dnf install -y <package>-<version>
.
ubi8-rust-builder/Dockerfile|10 col 1| Specify version with dnf install -y <package>-<version>
.
vector/Dockerfile|3 col 1| Always tag the version of an image explicitly
zookeeper/Dockerfile|2 col 1| Always tag the version of an image explicitly
zookeeper/Dockerfile|19 col 1| Use the -y switch to avoid manual input dnf install -y <package
zookeeper/Dockerfile|19 col 1| Specify version with dnf install -y <package>-<version>
.
Annotations
Check notice on line 145 in hadoop/Dockerfile
github-actions / hadolint
[hadolint] hadoop/Dockerfile#L145 <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:"hadoop/Dockerfile" range:{start:{line:145 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 145 in hadoop/Dockerfile
github-actions / hadolint
[hadolint] hadoop/Dockerfile#L145 <SC2086>(https://github.com/koalaman/shellcheck/wiki/SC2086)
Double quote to prevent globbing and word splitting.
Raw output
message:"Double quote to prevent globbing and word splitting." location:{path:"hadoop/Dockerfile" range:{start:{line:145 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"SC2086" url:"https://github.com/koalaman/shellcheck/wiki/SC2086"}