Skip to content

Instantly share code, notes, and snippets.

@eavidan
Last active August 5, 2018 09:24
Show Gist options
  • Save eavidan/c78abe511957bde426dd97a3bcde6bfd to your computer and use it in GitHub Desktop.
Save eavidan/c78abe511957bde426dd97a3bcde6bfd to your computer and use it in GitHub Desktop.
prebuilt tensorflow serving dockerfile
FROM ubuntu:16.04
MAINTAINER Eran Avidan
# Install general packages
RUN apt-get update && apt-get install -y \
curl \
libcurl3-dev \
unzip \
wget \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# New installation of tensorflow-model-server
RUN TEMP_DEB="$(mktemp)" \
&& wget -O "$TEMP_DEB" 'http://storage.googleapis.com/tensorflow-serving-apt/pool/tensorflow-model-server-1.9.0/t/tensorflow-model-server/tensorflow-model-server_1.9.0_all.deb' \
&& dpkg -i "$TEMP_DEB" \
&& rm -f "$TEMP_DEB"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment