mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 06:48:04 +08:00
3.1.2-debian-10-r92 release
This commit is contained in:
@@ -19,7 +19,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
RUN /opt/bitnami/scripts/spark/postunpack.sh
|
RUN /opt/bitnami/scripts/spark/postunpack.sh
|
||||||
ENV BITNAMI_APP_NAME="spark" \
|
ENV BITNAMI_APP_NAME="spark" \
|
||||||
BITNAMI_IMAGE_VERSION="3.1.2-debian-10-r91" \
|
BITNAMI_IMAGE_VERSION="3.1.2-debian-10-r92" \
|
||||||
JAVA_HOME="/opt/bitnami/java" \
|
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" \
|
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" \
|
LIBNSS_WRAPPER_PATH="/opt/bitnami/common/lib/libnss_wrapper.so" \
|
||||||
|
|||||||
@@ -141,10 +141,51 @@ am_i_root() {
|
|||||||
if [[ "$(id -u)" = "0" ]]; then
|
if [[ "$(id -u)" = "0" ]]; then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Print OS metadata
|
||||||
|
# Arguments:
|
||||||
|
# $1 - Flag name
|
||||||
|
# Flags:
|
||||||
|
# --id - Distro ID
|
||||||
|
# --version - Distro version
|
||||||
|
# --branch - Distro branch
|
||||||
|
# --codename - Distro codename
|
||||||
|
# Returns:
|
||||||
|
# String
|
||||||
|
#########################
|
||||||
|
get_os_metadata() {
|
||||||
|
local -r flag_name="${1:?missing flag}"
|
||||||
|
# Helper function
|
||||||
|
get_os_release_metadata() {
|
||||||
|
local -r env_name="${1:?missing environment variable name}"
|
||||||
|
(
|
||||||
|
. /etc/os-release
|
||||||
|
echo "${!env_name}"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
case "$flag_name" in
|
||||||
|
--id)
|
||||||
|
get_os_release_metadata ID
|
||||||
|
;;
|
||||||
|
--version)
|
||||||
|
get_os_release_metadata VERSION_ID
|
||||||
|
;;
|
||||||
|
--branch)
|
||||||
|
get_os_release_metadata VERSION_ID | sed 's/\..*//'
|
||||||
|
;;
|
||||||
|
--codename)
|
||||||
|
get_os_release_metadata VERSION_CODENAME
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
error "Unknown flag ${flag_name}"
|
||||||
|
return 1
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Get total memory available
|
# Get total memory available
|
||||||
# Arguments:
|
# Arguments:
|
||||||
|
|||||||
@@ -43,7 +43,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/).
|
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/).
|
||||||
|
|
||||||
|
|
||||||
* [`3`, `3-debian-10`, `3.1.2`, `3.1.2-debian-10-r91`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spark/blob/3.1.2-debian-10-r91/3/debian-10/Dockerfile)
|
* [`3`, `3-debian-10`, `3.1.2`, `3.1.2-debian-10-r92`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-spark/blob/3.1.2-debian-10-r92/3/debian-10/Dockerfile)
|
||||||
|
|
||||||
Subscribe to project updates by watching the [bitnami/spark GitHub repo](https://github.com/bitnami/bitnami-docker-spark).
|
Subscribe to project updates by watching the [bitnami/spark GitHub repo](https://github.com/bitnami/bitnami-docker-spark).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user