Skip to content

Commit

Permalink
0.6.0-r2 release
Browse files Browse the repository at this point in the history
Update image to version 0.6.0-r2
  • Loading branch information
Bitnami Bot committed Jul 14, 2017
1 parent 4f1dfa1 commit d40749e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 1 addition & 6 deletions 0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
FROM bitnami/minideb-extras:jessie-r19
LABEL maintainer "Bitnami <[email protected]>"



# Install required system packages and dependencies
RUN install_packages libc6 libgcc1 libstdc++6
RUN bitnami-pkg unpack tensorflow-serving-0.6.0-0 --checksum 0b55d1bf8e0ee73ed742d38a5dc1d5bbbe4d17d388a199cd9c7ae5b0d9435380

COPY rootfs /

ENV BITNAMI_APP_NAME="tensorflow-serving" \
BITNAMI_IMAGE_VERSION="0.6.0-r1" \
BITNAMI_IMAGE_VERSION="0.6.0-r2" \
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"




EXPOSE 9000

ENTRYPOINT ["/app-entrypoint.sh"]
Expand Down
6 changes: 2 additions & 4 deletions 0/rootfs/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers

DAEMON=tensorflow-serving.sh
TENSORFLOW_SERVING_HOME="/opt/bitnami/tensorflow-serving"
USER=tensorflow
EXEC=$(which $DAEMON)
ARGS="start-foreground"

info "Starting ${DAEMON}..."
exec gosu ${USER} ${EXEC} ${ARGS}
exec gosu ${USER} bash -c "${TENSORFLOW_SERVING_HOME}/bin/tensorflow-serving.sh start && tail -f ${TENSORFLOW_SERVING_HOME}/logs/tensorflow-serving.log"

0 comments on commit d40749e

Please sign in to comment.