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 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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Added

- ubi9-rust-builder: Include `.tar.gz` snapshots of the operator source code in container images ([#1207])

### Changed

- all: Use our build-repo to cache NPM dependencies ([#1219])

[#1207]: https://github.com/stackabletech/docker-images/pull/1207
[#1219]: https://github.com/stackabletech/docker-images/pull/1219

## [25.7.0] - 2025-07-23
Expand Down
2 changes: 0 additions & 2 deletions hadoop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ chmod --recursive g=u /stackable/jmx /stackable/async-profiler "/stackable/hadoo
# image the 'hadoop checknative' tool still fails because it can't find the 'libcrypto.so' symlink.
# Therefore we create this symlink here.
ln -s /usr/lib64/libcrypto.so.3 /usr/lib64/libcrypto.so
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