Last active
August 5, 2018 09:24
-
-
Save eavidan/c78abe511957bde426dd97a3bcde6bfd to your computer and use it in GitHub Desktop.
prebuilt tensorflow serving dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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