1.8.1-debian-10-r8 release

This commit is contained in:
Bitnami Bot 2021-04-08 11:55:43 +00:00
parent d7a5566f7a
commit 028ab893b1
7 changed files with 10 additions and 7 deletions

View File

@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/pytorch/postunpack.sh
ENV BITNAMI_APP_NAME="pytorch" \
BITNAMI_IMAGE_VERSION="1.8.1-debian-10-r7" \
BITNAMI_IMAGE_VERSION="1.8.1-debian-10-r8" \
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" \
PATH="/opt/bitnami/miniconda/bin:/opt/bitnami/common/bin:$PATH"

View File

@ -3,6 +3,6 @@ version: '2'
services:
pytorch:
tty: true
image: 'docker.io/bitnami/pytorch:1-debian-10'
image: docker.io/bitnami/pytorch:1
volumes:
- '.:/app'

View File

@ -106,5 +106,7 @@ indent() {
for ((i = 0; i < num; i++)); do
indent_unit="${indent_unit}${char}"
done
# shellcheck disable=SC2001
# Complex regex, see https://github.com/koalaman/shellcheck/wiki/SC2001#exceptions
echo "$string" | sed "s/^/${indent_unit}/"
}

View File

@ -9,7 +9,7 @@
# Functions
########################
# Gets semantic version
# Gets semantic version
# Arguments:
# $1 - version: string to extract major.minor.patch
# $2 - section: 1 to extract major, 2 to extract minor, 3 to extract patch
@ -38,7 +38,7 @@ get_sematic_version () {
done
local number_regex='^[0-9]+$'
if [[ "$section" =~ $number_regex ]] && (( $section > 0 )) && (( $section <= 3 )); then
if [[ "$section" =~ $number_regex ]] && (( section > 0 )) && (( section <= 3 )); then
echo "${version_sections[$section]}"
return
else

View File

@ -1,10 +1,11 @@
#!/bin/bash
# shellcheck disable=SC1091
set -o errexit
set -o nounset
set -o pipefail
#set -o xtrace
# shellcheck disable=SC1091
# Load libraries
. /opt/bitnami/scripts/libbitnami.sh

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

View File

@ -3,6 +3,6 @@ version: '2'
services:
pytorch:
tty: true
image: 'docker.io/bitnami/pytorch:1-debian-10'
image: docker.io/bitnami/pytorch:1
volumes:
- '.:/app'