|
9 | 9 |
|
10 | 10 | FROM local-image/stackable-devel AS rust-binaries |
11 | 11 |
|
12 | | -# Find the latest version here: https://github.com/stackabletech/config-utils/tags |
13 | | -# renovate: datasource=github-tags packageName=stackabletech/config-utils |
14 | | -ENV CONFIG_UTILS_VERSION=0.4.0 |
15 | | -# Find the latest version here: https://github.com/stackabletech/containerdebug/tags |
16 | | -# renovate: datasource=github-tags packageName=stackabletech/containerdebug |
17 | | -ENV CONTAINERDEBUG_VERSION=0.4.0 |
18 | | -# Find the latest version here: https://github.com/stackabletech/secret-operator/tags |
19 | | -# I could not find support for prefixes or regex in https://docs.renovatebot.com/modules/datasource/github-tags/, |
20 | | -# so I was unable to add a renovate hint. |
21 | | -ENV CERT_TOOLS_VERSION=0.1.1 |
| 12 | +ARG CONFIG_UTILS_VERSION |
| 13 | +ARG CONTAINERDEBUG_VERSION |
| 14 | +ARG CERT_TOOLS_VERSION |
22 | 15 |
|
23 | 16 | RUN <<EOF |
24 | 17 | . "$HOME/.cargo/env" |
25 | 18 |
|
26 | 19 | cd / |
27 | 20 | git clone --depth 1 --branch "${CONFIG_UTILS_VERSION}" https://github.com/stackabletech/config-utils |
28 | | -git clone --depth 1 --branch "${CONTAINERDEBUG_VERSION}" https://github.com/stackabletech/containerdebug |
| 21 | +git clone --depth 1 --branch "containerdebug-${CONTAINERDEBUG_VERSION}" https://github.com/stackabletech/operator-rs |
29 | 22 | git clone --depth 1 --branch "cert-tools-${CERT_TOOLS_VERSION}" https://github.com/stackabletech/secret-operator |
30 | 23 | cd /config-utils |
31 | 24 | cargo auditable --quiet build --release && cargo cyclonedx --all --spec-version 1.5 --describe binaries |
32 | | -cd /containerdebug |
33 | | -cargo auditable --quiet build --release && cargo cyclonedx --all --spec-version 1.5 --describe binaries |
| 25 | +cd /operator-rs |
| 26 | +cargo auditable --quiet build --package containerdebug --release && cargo cyclonedx --all --spec-version 1.5 --describe binaries |
34 | 27 | cd /secret-operator |
35 | 28 | cargo auditable --quiet build --release --package cert-tools && cargo cyclonedx --all --spec-version 1.5 --describe binaries |
36 | 29 | EOF |
@@ -184,8 +177,8 @@ COPY --from=rust-binaries --chown=${STACKABLE_USER_UID}:0 /config-utils/config-u |
184 | 177 |
|
185 | 178 | # **containerdebug** |
186 | 179 | # Debug tool that logs generic system information. |
187 | | -COPY --from=rust-binaries --chown=${STACKABLE_USER_UID}:0 /containerdebug/target/release/containerdebug /stackable/containerdebug |
188 | | -COPY --from=rust-binaries --chown=${STACKABLE_USER_UID}:0 /containerdebug/containerdebug_bin.cdx.xml /stackable/containerdebug_bin.cdx.xml |
| 180 | +COPY --from=rust-binaries --chown=${STACKABLE_USER_UID}:0 /operator-rs/target/release/containerdebug /stackable/containerdebug |
| 181 | +COPY --from=rust-binaries --chown=${STACKABLE_USER_UID}:0 /operator-rs/crates/containerdebug/containerdebug_bin.cdx.xml /stackable/containerdebug_bin.cdx.xml |
189 | 182 |
|
190 | 183 | # **cert-tools** |
191 | 184 | # A CLI tool to merge two truststores in PEM or PKCS12 format in such as way that they are accepted by the JVM |
|
0 commit comments