mirror of
https://github.com/bitnami/containers.git
synced 2026-08-08 12:08:25 +08:00
[bitnami/spark] Release 4.1.2-debian-12-r5 (#95424)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,7 +8,7 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-06-18T17:35:37Z" \
|
||||
org.opencontainers.image.created="2026-07-10T22:29:18Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/spark/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/spark" \
|
||||
@@ -25,15 +25,15 @@ ENV HOME="/" \
|
||||
COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libffi8 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 libtirpc3 openssl procps zlib1g
|
||||
RUN install_packages ca-certificates curl libbz2-1.0 libffi8 libgcc-s1 liblzma5 libncursesw6 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 openssl procps zlib1g
|
||||
RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"nss-wrapper-1.1.16-0-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.12.13-15-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.14.6-6-linux-${OS_ARCH}-debian-12" \
|
||||
"jre-17.0.19-11-1-linux-${OS_ARCH}-debian-12" \
|
||||
"spark-4.1.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
"spark-4.1.2-1-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -56,9 +56,9 @@ RUN /opt/bitnami/scripts/spark/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/java/postunpack.sh
|
||||
ENV APP_VERSION="4.1.2" \
|
||||
BITNAMI_APP_NAME="spark" \
|
||||
IMAGE_REVISION="4" \
|
||||
IMAGE_REVISION="5" \
|
||||
JAVA_HOME="/opt/bitnami/java" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/python/lib:/opt/bitnami/spark/venv/lib/python3.12/site-packages/numpy.libs" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/python/lib:/opt/bitnami/spark/venv/lib/python3.14/site-packages/numpy.libs" \
|
||||
LIBNSS_WRAPPER_PATH="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
||||
NSS_WRAPPER_GROUP="/opt/bitnami/spark/tmp/nss_group" \
|
||||
NSS_WRAPPER_PASSWD="/opt/bitnami/spark/tmp/nss_passwd" \
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
69357adf12b47d2a68b570f2b552716ce10fc4e7a5cf9a088a5f65df35be3419 python-3.12.13-15-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
9344da31ca83ea8559ea5d6e0b174a66976e8ad66ed9f3d1e6544356d319595a python-3.12.13-15-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
4b19f2f8beea1ca79ebe3ec3100930ee5e400ec04b41c53538b5244781e6caee python-3.14.6-6-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
861435320fcee05f78c8cd6f76be0ec8cec45f0cf47042c89b1708ff27986592 python-3.14.6-6-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
e521ec88de1c8fbd77386a08f681cfb8acedf1e67ac04cdb026f03a7aabdaa35 spark-4.1.2-0-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
c9947c37e32a9369123193ff4aa4afd11d1f1865b6f2d6e682eb2afa17eb7dc0 spark-4.1.2-0-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
15051567b312ee81d085bb16b3d00f512d4dfc635615b276974ce0194aa6b693 spark-4.1.2-1-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
c78ee6082694c2cd28e3d1fc52a86a1182bc9cb7b0cc8261cb47179c45825b91 spark-4.1.2-1-linux-arm64-debian-12.tar.gz
|
||||
@@ -424,3 +424,23 @@ EOF
|
||||
WantedBy=bitnami.service
|
||||
EOF
|
||||
}
|
||||
|
||||
########################
|
||||
# Register a SIGTERM handler that forwards the signal to all child processes.
|
||||
# Should be called at the start of run.sh, before launching any background processes.
|
||||
# Globals:
|
||||
# None
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
service_register_term_forwarder() {
|
||||
_service_forward_term() {
|
||||
warn "Caught signal SIGTERM, passing it to child processes..."
|
||||
pgrep -P $$ | xargs kill -TERM 2>/dev/null
|
||||
wait
|
||||
exit $?
|
||||
}
|
||||
trap _service_forward_term TERM
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ USER root
|
||||
RUN install_packages curl
|
||||
USER 1001
|
||||
RUN rm -r /opt/bitnami/spark/jars && \
|
||||
curl --location https://dlcdn.apache.org/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz | \
|
||||
curl --location https://archive.apache.org/dist/spark/spark-3.5.0/spark-3.5.0-bin-hadoop3.tgz | \
|
||||
tar --extract --gzip --strip=1 --directory /opt/bitnami/spark/ spark-3.5.0-bin-hadoop3/jars/
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user