1.9.0-debian-10-r3 release
This commit is contained in:
parent
553dd101bf
commit
5f989e3d08
|
|
@ -8,18 +8,18 @@ ENV HOME="/" \
|
|||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages acl ca-certificates curl gzip libc6 libffi6 libgcc1 libstdc++6 procps tar
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "miniconda" "4.9.2-0" --checksum 35d4fd9e2c401689d9880a5cd2fb8e099202320a70f025d5f93ca5b800e45d26
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pytorch" "1.9.0-0" --checksum c75ac9b6db08ddb6c21b604ff9a5354bb3ad1652d9810a32bbddc868d3d9d38b
|
||||
RUN install_packages acl ca-certificates curl gzip libbz2-1.0 libc6 libffi6 libgcc1 liblzma5 libncursesw6 libreadline7 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 procps tar zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "python" "3.7.10-6" --checksum fa9904bbde303b906c4fd8d9c6d43e5d611994597951719eb04a93a7b4f8ff80
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pytorch" "1.9.0-1" --checksum 8d6b40252cefdeb3d92cc895965e19362892cbbb43e91c73542f829c084f8642
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.13.0-0" --checksum fd7257c2736164d02832dbf72e2c1ed9d875bf3e32f0988520796bc503330129
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/pytorch/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="pytorch" \
|
||||
BITNAMI_IMAGE_VERSION="1.9.0-debian-10-r2" \
|
||||
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"
|
||||
BITNAMI_IMAGE_VERSION="1.9.0-debian-10-r3" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/python/lib/python3.7/site-packages/torch/lib/:/opt/bitnami/python/lib/python3.7/site-packages/PIL/.libs/:$LD_LIBRARY_PATH" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
WORKDIR /app
|
||||
USER 1001
|
||||
|
|
|
|||
|
|
@ -6,18 +6,18 @@
|
|||
"type": "NAMI",
|
||||
"version": "1.13.0-0"
|
||||
},
|
||||
"miniconda": {
|
||||
"python": {
|
||||
"arch": "amd64",
|
||||
"digest": "35d4fd9e2c401689d9880a5cd2fb8e099202320a70f025d5f93ca5b800e45d26",
|
||||
"digest": "fa9904bbde303b906c4fd8d9c6d43e5d611994597951719eb04a93a7b4f8ff80",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "4.9.2-0"
|
||||
"version": "3.7.10-6"
|
||||
},
|
||||
"pytorch": {
|
||||
"arch": "amd64",
|
||||
"digest": "c75ac9b6db08ddb6c21b604ff9a5354bb3ad1652d9810a32bbddc868d3d9d38b",
|
||||
"digest": "8d6b40252cefdeb3d92cc895965e19362892cbbb43e91c73542f829c084f8642",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "1.9.0-0"
|
||||
"version": "1.9.0-1"
|
||||
}
|
||||
}
|
||||
|
|
@ -5,10 +5,10 @@
|
|||
# Load libraries
|
||||
. /opt/bitnami/scripts/libfs.sh
|
||||
|
||||
PYTORCH_BASEDIR="/opt/bitnami/miniconda"
|
||||
PYTORCH_BASEDIR="/opt/bitnami/python"
|
||||
PYTORCH_WORKSPACE="/app"
|
||||
|
||||
# Ensure non-root user has write permissions on the workspace
|
||||
# Ensure non-root user has write permissions on the workspace
|
||||
ensure_dir_exists "$PYTORCH_WORKSPACE"
|
||||
|
||||
chmod -R g+rwX "$PYTORCH_BASEDIR" "$PYTORCH_WORKSPACE"
|
||||
|
|
|
|||
|
|
@ -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.9.0`, `1.9.0-debian-10-r2`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pytorch/blob/1.9.0-debian-10-r2/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-10`, `1.9.0`, `1.9.0-debian-10-r3`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pytorch/blob/1.9.0-debian-10-r3/1/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/pytorch GitHub repo](https://github.com/bitnami/bitnami-docker-pytorch).
|
||||
|
||||
|
|
@ -138,6 +138,12 @@ or using Docker Compose:
|
|||
$ docker-compose up pytorch
|
||||
```
|
||||
|
||||
# Notable changes
|
||||
|
||||
## 1.9.0-debian-10-r3
|
||||
|
||||
This version removes miniconda in favour of pip. This creates a smaller container and least prone to security issues. Users extending this container with other packages will need to switch from conda to pip commands.
|
||||
|
||||
# Contributing
|
||||
|
||||
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-pytorch/issues), or submit a [pull request](https://github.com/bitnami/bitnami-docker-pytorch/pulls) with your contribution.
|
||||
|
|
|
|||
Loading…
Reference in New Issue