Skip to content

Commit 5b59a4b

Browse files
committed
feat: include source code of operators
1 parent 4ceda06 commit 5b59a4b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ All notable changes to this project will be documented in this file.
5959
- zookeeper: bump jetty version for CVE-2024-13009 in 3.9.3 ([#1179])
6060
- zookeeper: bump netty version for CVE-2025-24970 in 3.9.3 ([#1180])
6161
- hadoop: backport HADOOP-19352, HADOOP-19335, HADOOP-19465, HADOOP-19456 and HADOOP-19225 to fix vulnerabilities in Hadoop `3.4.1` ([#1184])
62+
- Include `.tar.gz` snapshots of the operator source code in container images ([#1207])
6263

6364
### Changed
6465

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

225227
## [25.3.0] - 2025-03-21
226228

hadoop/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/j
136136
# Set correct permissions and ownerships
137137
chown --recursive ${STACKABLE_USER_UID}:0 /stackable/hadoop /stackable/jmx /stackable/async-profiler "/stackable/async-profiler-${ASYNC_PROFILER}-${TARGETOS}-${ARCH}"
138138
chmod --recursive g=u /stackable/jmx /stackable/async-profiler "/stackable/hadoop-${HADOOP_VERSION}-stackable${RELEASE}"
139-
EOF
140139

141-
RUN <<EOF
142140
# ----------------------------------------
143141
# Checks
144142
# 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)