mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 01:28:47 +02:00
0.6.0-r0 release
Upgrade TensorFlow Serving to version 0.6.0
This commit is contained in:
@@ -5,12 +5,12 @@ LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libc6 libgcc1 libstdc++6
|
||||
RUN bitnami-pkg unpack tensorflow-serving-0.5.1-0 --checksum ba6b8c3d17c6dc58942989b3caa81a06b79ba633038b857e39296145bee4ac92
|
||||
RUN bitnami-pkg unpack tensorflow-serving-0.6.0-0 --checksum 0b55d1bf8e0ee73ed742d38a5dc1d5bbbe4d17d388a199cd9c7ae5b0d9435380
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV BITNAMI_APP_NAME="tensorflow-serving" \
|
||||
BITNAMI_IMAGE_VERSION="0.5.1-r0" \
|
||||
BITNAMI_IMAGE_VERSION="0.6.0-r0" \
|
||||
PATH="/opt/bitnami/tensorflow-serving/bin:/opt/bitnami/tensorflow-serving/bazel-bin/tensorflow_serving/model_servers:$PATH" \
|
||||
TENSORFLOW_SERVING_MODEL_NAME="inception" \
|
||||
TENSORFLOW_SERVING_PORT_NUMBER="9000"
|
||||
|
||||
@@ -13,5 +13,3 @@ services:
|
||||
volumes:
|
||||
tensorflow_serving_data:
|
||||
driver: local
|
||||
inception_data_model:
|
||||
driver: local
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
[tensorflow.github.io/serving/](https://tensorflow.github.io/serving/)
|
||||
|
||||
> NOTE: This image needs access to trained data to actually works. Please check [bitnami-docker-tensorflow-inception](https://github.com/bitnami/bitnami-docker-tensorflow-inception) repository or follow the steps provided [here](#using-the-command-line)
|
||||
|
||||
# TL;DR;
|
||||
|
||||
```bash
|
||||
@@ -134,7 +136,7 @@ Finally we create a new container instance to launch the TensorFlow Serving clie
|
||||
$ docker run -it --rm \
|
||||
--volume /tmp/model-data:/bitnami/model-data
|
||||
--network app-tier \
|
||||
bitnami/tensorflow-inception:latest inception_client --server:tensorflow-serving --image=path/to/image.jpg
|
||||
bitnami/tensorflow-inception:latest inception_client --server=tensorflow-serving:9000 --image=path/to/image.jpg
|
||||
```
|
||||
|
||||
## Using Docker Compose
|
||||
|
||||
Reference in New Issue
Block a user