2.4.6-debian-10-r1 release

This commit is contained in:
Bitnami Bot 2020-06-12 07:55:45 +00:00
parent 5429ffab17
commit c74a5d38f2
3 changed files with 13 additions and 3 deletions

View File

@ -20,7 +20,7 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
RUN /opt/bitnami/scripts/spark/postunpack.sh
ENV BITNAMI_APP_NAME="spark" \
BITNAMI_IMAGE_VERSION="2.4.6-debian-10-r0" \
BITNAMI_IMAGE_VERSION="2.4.6-debian-10-r1" \
JAVA_HOME="/opt/bitnami/java" \
LD_LIBRARY_PATH="/opt/bitnami/python/lib/:/opt/bitnami/spark/venv/lib/python3.6/site-packages/numpy.libs/:$LD_LIBRARY_PATH" \
LIBNSS_WRAPPER_PATH="/opt/bitnami/common/lib/libnss_wrapper.so" \

View File

@ -54,7 +54,17 @@ wait_for_dns_lookup() {
# Machine IP
#########################
get_machine_ip() {
dns_lookup "$(hostname)"
local -a ip_addresses
local hostname
hostname="$(hostname)"
read -r -a ip_addresses <<< "$(dns_lookup "$hostname" | xargs echo)"
if [[ "${#ip_addresses[@]}" -gt 1 ]]; then
warn "Found more than one IP address associated to hostname ${hostname}: ${ip_addresses[*]}, will use ${ip_addresses[0]}"
elif [[ "${#ip_addresses[@]}" -lt 1 ]]; then
error "Could not find any IP address associated to hostname ${hostname}"
exit 1
fi
echo "${ip_addresses[0]}"
}
########################

View File

@ -41,7 +41,7 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`2-debian-10`, `2.4.6-debian-10-r0`, `2`, `2.4.6`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spark/blob/2.4.6-debian-10-r0/2/debian-10/Dockerfile)
* [`2-debian-10`, `2.4.6-debian-10-r1`, `2`, `2.4.6`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spark/blob/2.4.6-debian-10-r1/2/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/spark GitHub repo](https://github.com/bitnami/bitnami-docker-spark).