Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Build Druid from source #684

Merged
merged 17 commits into from
May 23, 2024

clean up Dockerfile

2bdfc69
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: Build Druid from source #684

clean up Dockerfile
2bdfc69
Select commit
Loading
Failed to load commit list.
GitHub Actions / hadolint failed May 17, 2024 in 1s

reviewdog [hadolint] report

reported by reviewdog 🐶

Findings (3)

druid/Dockerfile|13 col 1| Always tag the version of an image explicitly
druid/Dockerfile|33 col 1| Use WORKDIR to switch to a directory
druid/Dockerfile|78 col 1| Always tag the version of an image explicitly

Filtered Findings (68)

airflow/Dockerfile|13 col 1| Always tag the version of an image explicitly
airflow/Dockerfile|27 col 1| Specify version with dnf install -y <package>-<version>.
airflow/Dockerfile|49 col 1| Not following: File not included in mock.
airflow/Dockerfile|49 col 1| Pin versions in pip. Instead of pip install <package> use pip install <package>==<version> or pip install --requirement <requirements file>
airflow/Dockerfile|62 col 1| Always tag the version of an image explicitly
airflow/Dockerfile|82 col 1| Specify version with dnf install -y <package>-<version>.
hadoop/Dockerfile|34 col 1| In POSIX sh, string replacement is undefined.
hadoop/Dockerfile|59 col 1| Use WORKDIR to switch to a directory
hadoop/Dockerfile|92 col 1| Always tag the version of an image explicitly
hadoop/Dockerfile|110 col 1| Specify version with dnf install -y <package>-<version>.
hadoop/Dockerfile|138 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hadoop/Dockerfile|141 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hbase/Dockerfile|7 col 1| Always tag the version of an image explicitly
hbase/Dockerfile|34 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hbase/Dockerfile|35 col 1| Use WORKDIR to switch to a directory
hbase/Dockerfile|64 col 1| In POSIX sh, string replacement is undefined.
hbase/Dockerfile|87 col 1| Expressions don't expand in single quotes, use double quotes for that.
hbase/Dockerfile|97 col 1| Expressions don't expand in single quotes, use double quotes for that.
hbase/Dockerfile|127 col 1| Always tag the version of an image explicitly
hbase/Dockerfile|144 col 1| Specify version with dnf install -y <package>-<version>.
hello-world/Dockerfile|7 col 1| Always tag the version of an image explicitly
hive/Dockerfile|7 col 1| Always tag the version of an image explicitly
hive/Dockerfile|33 col 1| Use WORKDIR to switch to a directory
hive/Dockerfile|52 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hive/Dockerfile|53 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hive/Dockerfile|56 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hive/Dockerfile|57 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hive/Dockerfile|58 col 1| Multiple consecutive RUN instructions. Consider consolidation.
hive/Dockerfile|94 col 1| Always tag the version of an image explicitly
java-base/Dockerfile|9 col 1| Always tag the version of an image explicitly
kafka-testing-tools/Dockerfile|27 col 1| Specify version with dnf install -y <package>-<version>.
kafka/Dockerfile|23 col 1| Use WORKDIR to switch to a directory
kafka/Dockerfile|79 col 1| Specify version with dnf install -y <package>-<version>.
kcat/Dockerfile|16 col 1| Specify version with dnf install -y <package>-<version>.
kcat/Dockerfile|35 col 1| Use WORKDIR to switch to a directory
nifi/Dockerfile|20 col 1| Use WORKDIR to switch to a directory
nifi/Dockerfile|42 col 1| Use WORKDIR to switch to a directory
omid/Dockerfile|44 col 1| Always tag the version of an image explicitly
opa/Dockerfile|14 col 1| Specify version with dnf install -y <package>-<version>.
opa/Dockerfile|32 col 1| Use WORKDIR to switch to a directory
opa/Dockerfile|32 col 1| Double quote to prevent globbing and word splitting.
opa/Dockerfile|42 col 1| Specify version with dnf install -y <package>-<version>.
spark-k8s/Dockerfile|107 col 1| Specify version with dnf install -y <package>-<version>.
spark-k8s/Dockerfile|107 col 1| Double quote to prevent globbing and word splitting.
stackable-base/Dockerfile|30 col 1| Specify version with dnf install -y <package>-<version>.
stackable-base/Dockerfile|30 col 1| echo may not expand escape sequences. Use printf.
superset/Dockerfile|7 col 1| Always tag the version of an image explicitly
superset/Dockerfile|18 col 1| Specify version with dnf install -y <package>-<version>.
superset/Dockerfile|46 col 1| Avoid use of cache directory with pip. Use pip install --no-cache-dir <package>
superset/Dockerfile|46 col 1| Pin versions in pip. Instead of pip install <package> use pip install <package>==<version> or pip install --requirement <requirements file>
superset/Dockerfile|46 col 1| Use -n instead of ! -z.
superset/Dockerfile|84 col 1| Always tag the version of an image explicitly
superset/Dockerfile|105 col 1| Specify version with dnf install -y <package>-<version>.
testing-tools/Dockerfile|26 col 1| Pin versions in apt get install. Instead of apt-get install <package> use apt-get install <package>=<version>
testing-tools/Dockerfile|61 col 1| Pin versions in pip. Instead of pip install <package> use pip install <package>==<version> or pip install --requirement <requirements file>
tools/Dockerfile|7 col 1| Always tag the version of an image explicitly
tools/Dockerfile|22 col 1| Specify version with dnf install -y <package>-<version>.
trino-cli/Dockerfile|7 col 1| Always tag the version of an image explicitly
trino-cli/Dockerfile|19 col 1| Specify version with dnf install -y <package>-<version>.
trino/Dockerfile|7 col 1| Always tag the version of an image explicitly
trino/Dockerfile|25 col 1| Specify version with dnf install -y <package>-<version>.
trino/Dockerfile|50 col 1| In POSIX sh, [[ ]] is undefined.
ubi8-rust-builder/Dockerfile|34 col 1| Specify version with dnf install -y <package>-<version>.
ubi9-rust-builder/Dockerfile|31 col 1| Specify version with dnf install -y <package>-<version>.
vector/Dockerfile|7 col 1| Always tag the version of an image explicitly
vector/Dockerfile|19 col 1| In POSIX sh, string replacement is undefined.
zookeeper/Dockerfile|23 col 1| Use WORKDIR to switch to a directory
zookeeper/Dockerfile|67 col 1| Always tag the version of an image explicitly

Annotations

Check warning on line 13 in druid/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] druid/Dockerfile#L13 <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:"druid/Dockerfile"  range:{start:{line:13  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 33 in druid/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] druid/Dockerfile#L33 <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:"druid/Dockerfile"  range:{start:{line:33  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 78 in druid/Dockerfile

See this annotation in the file changed.

@github-actions github-actions / hadolint

[hadolint] druid/Dockerfile#L78 <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:"druid/Dockerfile"  range:{start:{line:78  column:1}}}  severity:WARNING  source:{name:"hadolint"  url:"https://github.com/hadolint/hadolint"}  code:{value:"DL3006"  url:"https://github.com/hadolint/hadolint/wiki/DL3006"}