0.5.1-r0 release

Initial release version 0.5.1
This commit is contained in:
Bitnami Bot
2017-06-16 14:58:51 +00:00
parent 24d58c4b97
commit 2850f8cb7a
6 changed files with 73 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM bitnami/minideb-extras:jessie-r17
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
COPY rootfs /
ENV BITNAMI_APP_NAME="tensorflow-serving" \
BITNAMI_IMAGE_VERSION="0.5.1-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"
VOLUME ["/bitnami/model-data","/bitnami/tensorflow-serving"]
EXPOSE 9000
ENTRYPOINT ["/app-entrypoint.sh"]
CMD ["/run.sh"]
@@ -0,0 +1,17 @@
version: '2'
services:
tensorflow-serving:
image: 'bitnami/tensorflow-serving:0'
labels:
kompose.service.type: nodeport
ports:
- '9000:9000'
volumes:
- 'tensorflow_serving_data:/bitnami/tensorflow-serving'
- '/tmp/model-data:/bitnami/model-data'
volumes:
tensorflow_serving_data:
driver: local
inception_data_model:
driver: local
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash -e
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
print_welcome_page
check_for_updates &
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run.sh" ]]; then
nami_initialize tensorflow-serving
info "Starting tensorflow-serving... "
fi
exec tini -- "$@"
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
DAEMON=tensorflow-serving.sh
USER=tensorflow
EXEC=$(which $DAEMON)
ARGS="start-foreground"
info "Starting ${DAEMON}..."
exec gosu ${USER} ${EXEC} ${ARGS}
@@ -0,0 +1,4 @@
{
"modelName": "{{$global.env.TENSORFLOW_SERVING_MODEL_NAME}}",
"port": "{{$global.env.TENSORFLOW_SERVING_PORT_NUMBER}}"
}
+2 -2
View File
@@ -2,8 +2,8 @@ machine:
services:
- docker
environment:
RELEASE_SERIES_LIST: {{ range $index, $_ := .Branches }}{{ if ne $index 0 }},{{ end }}{{ .Branch }}{{ end }}
LATEST_STABLE: {{ .LatestStableBranch.Branch }}
RELEASE_SERIES_LIST: 0
LATEST_STABLE: 0
IMAGE_NAME: tensorflow-serving
CHART_NAME:
CHART_REPO: