Skip to content

fix: use Stackable Maven repository in Hadoop build #1133

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

Merged
merged 2 commits into from
May 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ All notable changes to this project will be documented in this file.
- nifi: update patch allowing to bypass host header validation starting with NiFi 2.4.0 ([#1125]).
- BREAKING: kcat: Stop building kcat image ([#1124]).
- containerdebug updated to 0.2.0 ([#1128])
- Build Hadoop as `stackable` and configure the Stackable Nexus build-repo for the `root` user ([#1133])

### Fixed

Expand Down Expand Up @@ -150,6 +151,7 @@ All notable changes to this project will be documented in this file.
[#1126]: https://github.com/stackabletech/docker-images/pull/1126
[#1127]: https://github.com/stackabletech/docker-images/pull/1127
[#1128]: https://github.com/stackabletech/docker-images/pull/1128
[#1133]: https://github.com/stackabletech/docker-images/pull/1133

## [25.3.0] - 2025-03-21

Expand Down
1 change: 1 addition & 0 deletions hadoop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ chmod -x "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar"
ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar
EOF

USER ${STACKABLE_USER_UID}
WORKDIR /build
COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/patches/patchable.toml /build/src/hadoop/stackable/patches/patchable.toml
COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/patches/${PRODUCT} /build/src/hadoop/stackable/patches/${PRODUCT}
Expand Down
1 change: 1 addition & 0 deletions java-devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ RUN microdnf update && \
ENV JAVA_HOME="/usr/lib/jvm/temurin-${PRODUCT}-jdk"

COPY --chown=${STACKABLE_USER_UID}:0 java-devel/stackable/settings.xml /stackable/.m2/settings.xml
COPY --chown=${STACKABLE_USER_UID}:0 java-devel/stackable/settings.xml /root/.m2/settings.xml

# Mitigation for CVE-2021-44228 (Log4Shell)
# This variable is supported as of Log4j version 2.10 and
Expand Down