Skip to content

feat: include source code of operators #1207

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 4 commits into from
Jul 28, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -59,6 +59,7 @@ All notable changes to this project will be documented in this file.
- zookeeper: bump jetty version for CVE-2024-13009 in 3.9.3 ([#1179])
- zookeeper: bump netty version for CVE-2025-24970 in 3.9.3 ([#1180])
- hadoop: backport HADOOP-19352, HADOOP-19335, HADOOP-19465, HADOOP-19456 and HADOOP-19225 to fix vulnerabilities in Hadoop `3.4.1` ([#1184])
- Include `.tar.gz` snapshots of the operator source code in container images ([#1207])

### Changed

Expand Down Expand Up @@ -221,6 +222,7 @@ All notable changes to this project will be documented in this file.
[#1188]: https://github.com/stackabletech/docker-images/pull/1188
[#1189]: https://github.com/stackabletech/docker-images/pull/1189
[#1197]: https://github.com/stackabletech/docker-images/pull/1197
[#1207]: https://github.com/stackabletech/docker-images/pull/1207

## [25.3.0] - 2025-03-21

Expand Down
2 changes: 0 additions & 2 deletions hadoop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/j
# Set correct permissions and ownerships
chown --recursive ${STACKABLE_USER_UID}:0 /stackable/hadoop /stackable/jmx /stackable/async-profiler "/stackable/async-profiler-${ASYNC_PROFILER}-${TARGETOS}-${ARCH}"
chmod --recursive g=u /stackable/jmx /stackable/async-profiler "/stackable/hadoop-${HADOOP_VERSION}-stackable${RELEASE}"
EOF

RUN <<EOF
# ----------------------------------------
# Checks
# This section is to run final checks to ensure the created final images
Expand Down
3 changes: 3 additions & 0 deletions ubi9-rust-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ RUN microdnf update \
openssl-devel \
pkg-config \
systemd-devel \
# tar needed to create the source code snapshot before building the Rust code
tar \
unzip \
&& microdnf clean all \
&& rm -rf /var/cache/yum
Expand Down Expand Up @@ -97,6 +99,7 @@ ONBUILD COPY . /src

ONBUILD RUN <<EOF
. "$HOME/.cargo/env"
tar -czf /app/stackable-src.tar.gz .
cargo auditable --quiet build --release --workspace
cargo cyclonedx --all --spec-version 1.5 --describe binaries

Expand Down