2.7.0-debian-10-r33 release

This commit is contained in:
Bitnami Bot
2021-12-10 16:02:49 +00:00
parent 930ac3ea59
commit f38ae11c8f
3 changed files with 12 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh
RUN /opt/bitnami/scripts/tensorflow-serving/postunpack.sh
ENV BITNAMI_APP_NAME="tensorflow-serving" \
BITNAMI_IMAGE_VERSION="2.7.0-debian-10-r32" \
BITNAMI_IMAGE_VERSION="2.7.0-debian-10-r33" \
JAVA_HOME="/opt/bitnami/java" \
TENSORFLOW_SERVING_ENABLE_MONITORING="no" \
TENSORFLOW_SERVING_MODEL_NAME="resnet" \

View File

@@ -20,8 +20,13 @@
owned_by() {
local path="${1:?path is missing}"
local owner="${2:?owner is missing}"
local group="${3:-}"
chown "$owner":"$owner" "$path"
if [[ -n $group ]]; then
chown "$owner":"$group" "$path"
else
chown "$owner":"$owner" "$path"
fi
}
########################
@@ -34,11 +39,12 @@ owned_by() {
#########################
ensure_dir_exists() {
local dir="${1:?directory is missing}"
local owner="${2:-}"
local owner_user="${2:-}"
local owner_group="${3:-}"
mkdir -p "${dir}"
if [[ -n $owner ]]; then
owned_by "$dir" "$owner"
if [[ -n $owner_user ]]; then
owned_by "$dir" "$owner_user" "$owner_group"
fi
}

View File

@@ -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/).
* [`2`, `2-debian-10`, `2.7.0`, `2.7.0-debian-10-r32`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.7.0-debian-10-r32/2/debian-10/Dockerfile)
* [`2`, `2-debian-10`, `2.7.0`, `2.7.0-debian-10-r33`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.7.0-debian-10-r33/2/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/tensorflow-serving GitHub repo](https://github.com/bitnami/bitnami-docker-tensorflow-serving).