mirror of
https://github.com/bitnami/containers.git
synced 2026-02-26 15:57:21 +08:00
2.5.1-debian-10-r100 release
This commit is contained in:
@@ -18,7 +18,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/tensorflow-serving/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="tensorflow-serving" \
|
||||
BITNAMI_IMAGE_VERSION="2.5.1-debian-10-r99" \
|
||||
BITNAMI_IMAGE_VERSION="2.5.1-debian-10-r100" \
|
||||
TENSORFLOW_SERVING_ENABLE_MONITORING="no" \
|
||||
TENSORFLOW_SERVING_MODEL_NAME="resnet" \
|
||||
TENSORFLOW_SERVING_MONITORING_PATH="/monitoring/prometheus/metrics" \
|
||||
|
||||
@@ -137,6 +137,19 @@ generate_cron_conf() {
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
# Remove a cron configuration file for a given service
|
||||
# Arguments:
|
||||
# $1 - Service name
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
remove_cron_conf() {
|
||||
local service_name="${1:?service name is missing}"
|
||||
local cron_conf_dir="/etc/monit/conf.d"
|
||||
rm -f "${cron_conf_dir}/${service_name}"
|
||||
}
|
||||
|
||||
########################
|
||||
# Generate a monit configuration file for a given service
|
||||
# Arguments:
|
||||
@@ -183,6 +196,19 @@ check process ${service_name}
|
||||
EOF
|
||||
}
|
||||
|
||||
########################
|
||||
# Remove a monit configuration file for a given service
|
||||
# Arguments:
|
||||
# $1 - Service name
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
remove_monit_conf() {
|
||||
local service_name="${1:?service name is missing}"
|
||||
local monit_conf_dir="/etc/monit/conf.d"
|
||||
rm -f "${monit_conf_dir}/${service_name}.conf"
|
||||
}
|
||||
|
||||
########################
|
||||
# Generate a logrotate configuration file
|
||||
# Arguments:
|
||||
@@ -233,3 +259,16 @@ $(indent "$extra" 2)
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
||||
########################
|
||||
# Remove a logrotate configuration file
|
||||
# Arguments:
|
||||
# $1 - Service name
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
remove_logrotate_conf() {
|
||||
local service_name="${1:?service name is missing}"
|
||||
local logrotate_conf_dir="/etc/logrotate.d"
|
||||
rm -f "${logrotate_conf_dir}/${service_name}"
|
||||
}
|
||||
|
||||
@@ -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.5.1`, `2.5.1-debian-10-r99`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.5.1-debian-10-r99/2/debian-10/Dockerfile)
|
||||
* [`2`, `2-debian-10`, `2.5.1`, `2.5.1-debian-10-r100`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.5.1-debian-10-r100/2/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/tensorflow-serving GitHub repo](https://github.com/bitnami/bitnami-docker-tensorflow-serving).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user