Skip to content

Commit 37432b0

Browse files
dervoetisbernauer
andauthored
feat: include source code of operators (#1207)
* feat: include source code of operators * chore: changelog * Update CHANGELOG.md Co-authored-by: Sebastian Bernauer <[email protected]> --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent f8e41f1 commit 37432b0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- ubi9-rust-builder: Include `.tar.gz` snapshots of the operator source code in container images ([#1207])
10+
711
### Changed
812

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

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

1318
## [25.7.0] - 2025-07-23

hadoop/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ chmod --recursive g=u /stackable/jmx /stackable/async-profiler "/stackable/hadoo
145145
# image the 'hadoop checknative' tool still fails because it can't find the 'libcrypto.so' symlink.
146146
# Therefore we create this symlink here.
147147
ln -s /usr/lib64/libcrypto.so.3 /usr/lib64/libcrypto.so
148-
EOF
149148

150-
RUN <<EOF
151149
# ----------------------------------------
152150
# Checks
153151
# This section is to run final checks to ensure the created final images

ubi9-rust-builder/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ RUN microdnf update \
6262
openssl-devel \
6363
pkg-config \
6464
systemd-devel \
65+
# tar needed to create the source code snapshot before building the Rust code
66+
tar \
6567
unzip \
6668
&& microdnf clean all \
6769
&& rm -rf /var/cache/yum
@@ -97,6 +99,7 @@ ONBUILD COPY . /src
9799

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

0 commit comments

Comments
 (0)