mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 07:18:06 +08:00
[bitnami/spark] Release 3.4.1-debian-11-r83 (#52159)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -8,10 +8,10 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
||||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||||
org.opencontainers.image.created="2023-10-10T07:11:24Z" \
|
org.opencontainers.image.created="2023-10-25T17:33:26Z" \
|
||||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||||
org.opencontainers.image.licenses="Apache-2.0" \
|
org.opencontainers.image.licenses="Apache-2.0" \
|
||||||
org.opencontainers.image.ref.name="3.4.1-debian-11-r82" \
|
org.opencontainers.image.ref.name="3.4.1-debian-11-r83" \
|
||||||
org.opencontainers.image.title="spark" \
|
org.opencontainers.image.title="spark" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
org.opencontainers.image.version="3.4.1"
|
org.opencontainers.image.version="3.4.1"
|
||||||
@@ -28,9 +28,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 procps zlib1g
|
RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 procps zlib1g
|
||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"python-3.9.18-2-linux-${OS_ARCH}-debian-11" \
|
"python-3.11.6-6-linux-${OS_ARCH}-debian-11" \
|
||||||
"java-17.0.8-7-5-linux-${OS_ARCH}-debian-11" \
|
"java-17.0.9-11-1-linux-${OS_ARCH}-debian-11" \
|
||||||
"spark-3.4.1-4-linux-${OS_ARCH}-debian-11" \
|
"spark-3.4.1-5-linux-${OS_ARCH}-debian-11" \
|
||||||
) && \
|
) && \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||||
|
|||||||
@@ -3,18 +3,18 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "17.0.8-7-5"
|
"version": "17.0.9-11-1"
|
||||||
},
|
},
|
||||||
"python": {
|
"python": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "3.9.18-2"
|
"version": "3.11.6-6"
|
||||||
},
|
},
|
||||||
"spark": {
|
"spark": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "3.4.1-4"
|
"version": "3.4.1-5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,14 +30,15 @@ if [[ "$1" = "/opt/bitnami/scripts/spark/run.sh" ]]; then
|
|||||||
info "** Spark setup finished! **"
|
info "** Spark setup finished! **"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Spark has an special 'driver' command which is an alias for spark-submit
|
# ref: https://spark.apache.org/docs/latest/running-on-kubernetes.html
|
||||||
# https://github.com/apache/spark/blob/master/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh
|
# inspired by https://github.com/apache/spark/blob/master/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh
|
||||||
case "$1" in
|
case "$1" in
|
||||||
driver)
|
driver)
|
||||||
shift 1
|
shift 1
|
||||||
CMD=(
|
CMD=(
|
||||||
"/opt/bitnami/spark/bin/spark-submit"
|
"/opt/bitnami/spark/bin/spark-submit"
|
||||||
--master "${SPARK_MASTER_URL}"
|
--conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS"
|
||||||
|
--conf "spark.executorEnv.SPARK_DRIVER_POD_IP=$SPARK_DRIVER_BIND_ADDRESS"
|
||||||
--conf "spark.jars.ivy=/tmp/.ivy"
|
--conf "spark.jars.ivy=/tmp/.ivy"
|
||||||
--deploy-mode client
|
--deploy-mode client
|
||||||
"$@"
|
"$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user