1.5.0-debian-10-r13 release

This commit is contained in:
Bitnami Bot 2020-05-05 21:05:09 +00:00
parent c2183f11d8
commit 8bca53e026
3 changed files with 10 additions and 3 deletions

View File

@ -19,7 +19,7 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
RUN /opt/bitnami/scripts/pytorch/postunpack.sh
ENV BITNAMI_APP_NAME="pytorch" \
BITNAMI_IMAGE_VERSION="1.5.0-debian-10-r12" \
BITNAMI_IMAGE_VERSION="1.5.0-debian-10-r13" \
LD_LIBRARY_PATH="/opt/bitnami/miniconda/lib/python3.7/site-packages/torch/lib/:/opt/bitnami/miniconda/lib/python3.7/site-packages/PIL/.libs/:$LD_LIBRARY_PATH" \
NAMI_PREFIX="/.nami" \
PATH="/opt/bitnami/miniconda/bin:/opt/bitnami/common/bin:$PATH"

View File

@ -38,17 +38,24 @@ is_service_running() {
# Stop a service by sending a termination signal to its pid
# Arguments:
# $1 - Pid file
# $2 - Signal number (optional)
# Returns:
# None
#########################
stop_service_using_pid() {
local pid_file="${1:?pid file is missing}"
local signal="${2:-}"
local pid
pid="$(get_pid_from_file "$pid_file")"
[[ -z "$pid" ]] || ! is_service_running "$pid" && return
kill "$pid"
if [[ -n "$signal" ]]; then
kill "-${signal}" "$pid"
else
kill "$pid"
fi
local counter=10
while [[ "$counter" -ne 0 ]] && is_service_running "$pid"; do
sleep 1

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/).
* [`1-debian-10`, `1.5.0-debian-10-r12`, `1`, `1.5.0`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pytorch/blob/1.5.0-debian-10-r12/1/debian-10/Dockerfile)
* [`1-debian-10`, `1.5.0-debian-10-r13`, `1`, `1.5.0`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pytorch/blob/1.5.0-debian-10-r13/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/pytorch GitHub repo](https://github.com/bitnami/bitnami-docker-pytorch).