mirror of
https://github.com/bitnami/containers.git
synced 2026-02-20 06:37:24 +08:00
2.1.0-debian-10-r112 release
This commit is contained in:
@@ -7,7 +7,7 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl dirmngr gnupg libc6 libgcc1 libstdc++6 procps sudo unzip
|
||||
RUN install_packages ca-certificates curl dirmngr gnupg gzip libc6 libgcc1 libstdc++6 procps sudo tar
|
||||
RUN /build/bitnami-user.sh
|
||||
RUN /build/install-nami.sh
|
||||
RUN bitnami-pkg install tini-0.19.0-0 --checksum 9a8ae20be31a518f042fcec359f2cf35bfdb4e2a56f2fa8ff9ef2ecaf45da80c
|
||||
@@ -19,8 +19,11 @@ RUN echo "deb http://http.us.debian.org/debian testing main non-free contrib" >>
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="tensorflow-resnet" \
|
||||
BITNAMI_IMAGE_VERSION="2.1.0-debian-10-r111" \
|
||||
NAMI_PREFIX="/.nami"
|
||||
BITNAMI_IMAGE_VERSION="2.1.0-debian-10-r112" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
OS_NAME="linux"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
version: '2'
|
||||
services:
|
||||
tensorflow-serving:
|
||||
image: 'bitnami/tensorflow-serving:2'
|
||||
image: 'docker.io/bitnami/tensorflow-serving:2-debian-10'
|
||||
environment:
|
||||
- TENSORFLOW_SERVING_MODEL_NAME=resnet
|
||||
ports:
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
- 'tensorflow_serving_data:/bitnami'
|
||||
- '/tmp/model-data:/bitnami/model-data'
|
||||
tensorflow-resnet:
|
||||
image: 'bitnami/tensorflow-resnet:2'
|
||||
image: 'docker.io/bitnami/tensorflow-resnet:2-debian-10'
|
||||
depends_on:
|
||||
- tensorflow-serving
|
||||
volumes:
|
||||
|
||||
24
bitnami/tensorflow-resnet/2/debian-10/prebuildfs/usr/sbin/install_packages
Executable file
24
bitnami/tensorflow-resnet/2/debian-10/prebuildfs/usr/sbin/install_packages
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -42,7 +42,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-debian-10`, `2.1.0-debian-10-r111`, `2`, `2.1.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-resnet/blob/2.1.0-debian-10-r111/2/debian-10/Dockerfile)
|
||||
* [`2-debian-10`, `2.1.0-debian-10-r112`, `2`, `2.1.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-resnet/blob/2.1.0-debian-10-r112/2/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/tensorflow-resnet GitHub repo](https://github.com/bitnami/bitnami-docker-tensorflow-resnet).
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
version: '2'
|
||||
services:
|
||||
tensorflow-serving:
|
||||
image: 'bitnami/tensorflow-serving:2'
|
||||
image: 'docker.io/bitnami/tensorflow-serving:2-debian-10'
|
||||
environment:
|
||||
- TENSORFLOW_SERVING_MODEL_NAME=resnet
|
||||
ports:
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
- 'tensorflow_serving_data:/bitnami'
|
||||
- '/tmp/model-data:/bitnami/model-data'
|
||||
tensorflow-resnet:
|
||||
image: 'bitnami/tensorflow-resnet:2'
|
||||
image: 'docker.io/bitnami/tensorflow-resnet:2-debian-10'
|
||||
depends_on:
|
||||
- tensorflow-serving
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user