feat(hive): Only build and ship Hive metastore #619
reviewdog [hadolint] report
reported by reviewdog 🐶
Findings (7)
hadoop/Dockerfile|72 col 1| Use WORKDIR to switch to a directory
hive/Dockerfile|35 col 1| Use WORKDIR to switch to a directory
hive/Dockerfile|54 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hive/Dockerfile|55 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hive/Dockerfile|58 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hive/Dockerfile|59 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hive/Dockerfile|60 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
Filtered Findings (101)
airflow/Dockerfile|12 col 1| Always tag the version of an image explicitly
airflow/Dockerfile|26 col 1| Use the -y switch to avoid manual input dnf install -y <package
airflow/Dockerfile|26 col 1| Specify version with dnf install -y <package>-<version>
.
airflow/Dockerfile|46 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
airflow/Dockerfile|46 col 1| Not following: File not included in mock.
airflow/Dockerfile|59 col 1| Always tag the version of an image explicitly
airflow/Dockerfile|79 col 1| Specify version with dnf install -y <package>-<version>
.
airflow/Dockerfile|79 col 1| Use the -y switch to avoid manual input dnf install -y <package
druid/Dockerfile|6 col 1| Always tag the version of an image explicitly
druid/Dockerfile|23 col 1| Use the -y switch to avoid manual input dnf install -y <package
druid/Dockerfile|23 col 1| Specify version with dnf install -y <package>-<version>
.
hadoop/Dockerfile|6 col 1| Always tag the version of an image explicitly
hadoop/Dockerfile|17 col 1| Specify version with dnf install -y <package>-<version>
.
hadoop/Dockerfile|17 col 1| Use the -y switch to avoid manual input dnf install -y <package
hadoop/Dockerfile|50 col 1| In POSIX sh, string replacement is undefined.
hadoop/Dockerfile|105 col 1| Always tag the version of an image explicitly
hadoop/Dockerfile|123 col 1| Specify version with dnf install -y <package>-<version>
.
hadoop/Dockerfile|123 col 1| Use the -y switch to avoid manual input dnf install -y <package
hadoop/Dockerfile|151 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hadoop/Dockerfile|154 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hbase/Dockerfile|6 col 1| Always tag the version of an image explicitly
hbase/Dockerfile|19 col 1| Specify version with dnf install -y <package>-<version>
.
hbase/Dockerfile|19 col 1| Use the -y switch to avoid manual input dnf install -y <package
hbase/Dockerfile|44 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hbase/Dockerfile|45 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
hbase/Dockerfile|46 col 1| Use WORKDIR to switch to a directory
hbase/Dockerfile|67 col 1| Expressions don't expand in single quotes, use double quotes for that.
hbase/Dockerfile|91 col 1| In POSIX sh, string replacement is undefined.
hbase/Dockerfile|117 col 1| Always tag the version of an image explicitly
hbase/Dockerfile|133 col 1| Specify version with dnf install -y <package>-<version>
.
hbase/Dockerfile|133 col 1| Use the -y switch to avoid manual input dnf install -y <package
hello-world/Dockerfile|6 col 1| Always tag the version of an image explicitly
hive/Dockerfile|6 col 1| Always tag the version of an image explicitly
hive/Dockerfile|8 col 1| Always tag the version of an image explicitly
hive/Dockerfile|20 col 1| Use the -y switch to avoid manual input dnf install -y <package
hive/Dockerfile|20 col 1| Specify version with dnf install -y <package>-<version>
.
hive/Dockerfile|96 col 1| Always tag the version of an image explicitly
java-base/Dockerfile|6 col 1| Always tag the version of an image explicitly
java-base/Dockerfile|19 col 1| Use the -y switch to avoid manual input dnf install -y <package
kafka-testing-tools/Dockerfile|6 col 1| Always tag the version of an image explicitly
kafka-testing-tools/Dockerfile|11 col 1| Specify version with dnf install -y <package>-<version>
.
kafka-testing-tools/Dockerfile|17 col 1| Use WORKDIR to switch to a directory
kafka-testing-tools/Dockerfile|22 col 1| Always tag the version of an image explicitly
kafka-testing-tools/Dockerfile|36 col 1| Specify version with dnf install -y <package>-<version>
.
kafka/Dockerfile|6 col 1| Always tag the version of an image explicitly
kafka/Dockerfile|10 col 1| Specify version with dnf install -y <package>-<version>
.
kafka/Dockerfile|25 col 1| Use WORKDIR to switch to a directory
kafka/Dockerfile|30 col 1| Always tag the version of an image explicitly
kafka/Dockerfile|48 col 1| Specify version with dnf install -y <package>-<version>
.
kafka/Dockerfile|48 col 1| Use the -y switch to avoid manual input dnf install -y <package
nifi/Dockerfile|6 col 1| Always tag the version of an image explicitly
nifi/Dockerfile|19 col 1| Specify version with dnf install -y <package>-<version>
.
nifi/Dockerfile|19 col 1| Use the -y switch to avoid manual input dnf install -y <package
nifi/Dockerfile|44 col 1| Use WORKDIR to switch to a directory
omid/Dockerfile|6 col 1| Always tag the version of an image explicitly
omid/Dockerfile|10 col 1| Use the -y switch to avoid manual input dnf install -y <package
omid/Dockerfile|10 col 1| Specify version with dnf install -y <package>-<version>
.
omid/Dockerfile|53 col 1| Always tag the version of an image explicitly
opa/Dockerfile|6 col 1| Always tag the version of an image explicitly
opa/Dockerfile|11 col 1| Specify version with dnf install -y <package>-<version>
.
opa/Dockerfile|20 col 1| Use WORKDIR to switch to a directory
opa/Dockerfile|20 col 1| Double quote to prevent globbing and word splitting.
opa/Dockerfile|22 col 1| Always tag the version of an image explicitly
opa/Dockerfile|28 col 1| Specify version with dnf install -y <package>-<version>
.
opa/Dockerfile|28 col 1| Specify version with yum install -y <package>-<version>
.
opa/Dockerfile|47 col 1| Always tag the version of an image explicitly
opa/Dockerfile|62 col 1| Use the -y switch to avoid manual input dnf install -y <package
opa/Dockerfile|62 col 1| Specify version with dnf install -y <package>-<version>
.
spark-k8s/Dockerfile|6 col 1| Always tag the version of an image explicitly
spark-k8s/Dockerfile|32 col 1| Use the -y switch to avoid manual input dnf install -y <package
spark-k8s/Dockerfile|32 col 1| Specify version with dnf install -y <package>-<version>
.
spark-k8s/Dockerfile|57 col 1| Multiple consecutive RUN
instructions. Consider consolidation.
stackable-base/Dockerfile|28 col 1| Specify version with dnf install -y <package>-<version>
.
stackable-base/Dockerfile|28 col 1| echo may not expand escape sequences. Use printf.
superset/Dockerfile|6 col 1| Always tag the version of an image explicitly
superset/Dockerfile|17 col 1| Specify version with dnf install -y <package>-<version>
.
superset/Dockerfile|17 col 1| In POSIX sh, string replacement is undefined.
superset/Dockerfile|44 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
superset/Dockerfile|44 col 1| Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
superset/Dockerfile|44 col 1| Use -n instead of ! -z.
superset/Dockerfile|82 col 1| Always tag the version of an image explicitly
superset/Dockerfile|103 col 1| In POSIX sh, string replacement is undefined.
superset/Dockerfile|103 col 1| Specify version with dnf install -y <package>-<version>
.
testing-tools/Dockerfile|25 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
testing-tools/Dockerfile|60 col 1| Pin versions in pip. Instead of pip install <package>
use pip install <package>==<version>
or pip install --requirement <requirements file>
tools/Dockerfile|6 col 1| Always tag the version of an image explicitly
tools/Dockerfile|21 col 1| Use the -y switch to avoid manual input dnf install -y <package
tools/Dockerfile|21 col 1| Specify version with dnf install -y <package>-<version>
.
trino-cli/Dockerfile|6 col 1| Always tag the version of an image explicitly
trino-cli/Dockerfile|18 col 1| Use the -y switch to avoid manual input dnf install -y <package
trino-cli/Dockerfile|18 col 1| Specify version with dnf install -y <package>-<version>
.
trino/Dockerfile|6 col 1| Always tag the version of an image explicitly
trino/Dockerfile|24 col 1| Use the -y switch to avoid manual input dnf install -y <package
trino/Dockerfile|24 col 1| Specify version with dnf install -y <package>-<version>
.
trino/Dockerfile|44 col 1| In POSIX sh, [[ ]] is undefined.
ubi8-rust-builder/Dockerfile|17 col 1| Specify version with dnf install -y <package>-<version>
.
vector/Dockerfile|6 col 1| Always tag the version of an image explicitly
vector/Dockerfile|18 col 1| In POSIX sh, string replacement is undefined.
zookeeper/Dockerfile|6 col 1| Always tag the version of an image explicitly
zookeeper/Dockerfile|20 col 1| Use the -y switch to avoid manual input dnf install -y <package
zookeeper/Dockerfile|20 col 1| Specify version with dnf install -y <package>-<version>
.
Annotations
Check warning on line 72 in hadoop/Dockerfile
github-actions / hadolint
[hadolint] hadoop/Dockerfile#L72 <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:"hadoop/Dockerfile" range:{start:{line:72 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 35 in hive/Dockerfile
github-actions / hadolint
[hadolint] hive/Dockerfile#L35 <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:"hive/Dockerfile" range:{start:{line:35 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 notice on line 54 in hive/Dockerfile
github-actions / hadolint
[hadolint] hive/Dockerfile#L54 <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:"hive/Dockerfile" range:{start:{line:54 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 55 in hive/Dockerfile
github-actions / hadolint
[hadolint] hive/Dockerfile#L55 <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:"hive/Dockerfile" range:{start:{line:55 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 58 in hive/Dockerfile
github-actions / hadolint
[hadolint] hive/Dockerfile#L58 <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:"hive/Dockerfile" range:{start:{line:58 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 59 in hive/Dockerfile
github-actions / hadolint
[hadolint] hive/Dockerfile#L59 <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:"hive/Dockerfile" range:{start:{line:59 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 60 in hive/Dockerfile
github-actions / hadolint
[hadolint] hive/Dockerfile#L60 <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:"hive/Dockerfile" range:{start:{line:60 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}