mirror of
https://github.com/bitnami/containers.git
synced 2026-02-27 15:07:25 +08:00
2.0.0-ol-7-r45 release
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
FROM bitnami/oraclelinux-extras:7-r573
|
||||
FROM bitnami/oraclelinux-extras:7-r574
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
HOME="/"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages glibc libgcc libstdc++
|
||||
RUN bitnami-pkg unpack tensorflow-serving-2.0.0-0 --checksum 8e5efddeb6d3b4e15d5094c0a9014955c3e7ec17f21f861f6e2eace1b16fc922
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="tensorflow-serving" \
|
||||
BITNAMI_IMAGE_VERSION="2.0.0-ol-7-r44" \
|
||||
BITNAMI_IMAGE_VERSION="2.0.0-ol-7-r45" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PATH="/opt/bitnami/tensorflow-serving/bin:/opt/bitnami/tensorflow-serving/bazel-bin/tensorflow_serving/model_servers:$PATH" \
|
||||
TENSORFLOW_SERVING_ENABLE_MONITORING="no" \
|
||||
|
||||
29
bitnami/tensorflow-serving/2/ol-7/prebuildfs/usr/local/bin/install_packages
Executable file
29
bitnami/tensorflow-serving/2/ol-7/prebuildfs/usr/local/bin/install_packages
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if [[ -n "oracle-epel-release-el7" ]]; then
|
||||
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
|
||||
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
|
||||
CODE=$?
|
||||
if (( $CODE != 0 )); then
|
||||
echo "EPEL repository installation failed"
|
||||
exit $CODE
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
max=2
|
||||
for ((n = 1 ; n <= max ; n+=1 )); do
|
||||
set +e
|
||||
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
|
||||
CODE=$?
|
||||
set -e
|
||||
if (( $CODE == 0 )); then
|
||||
break
|
||||
fi
|
||||
if (( $n == $max )); then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "yum failed, retrying"
|
||||
done
|
||||
rm -r /var/cache/yum
|
||||
@@ -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/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`2-ol-7`, `2.0.0-ol-7-r44` (2/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.0.0-ol-7-r44/2/ol-7/Dockerfile)
|
||||
* [`2-ol-7`, `2.0.0-ol-7-r45` (2/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.0.0-ol-7-r45/2/ol-7/Dockerfile)
|
||||
* [`2-debian-9`, `2.0.0-debian-9-r33`, `2`, `2.0.0`, `2.0.0-r33`, `latest` (2/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-tensorflow-serving/blob/2.0.0-debian-9-r33/2/debian-9/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