Skip to content

Instantly share code, notes, and snippets.

@waichee
Created February 14, 2017 10:12
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save waichee/d34b6c574f9beee90e8de92d3fe18de6 to your computer and use it in GitHub Desktop.
Save waichee/d34b6c574f9beee90e8de92d3fe18de6 to your computer and use it in GitHub Desktop.
Steps to create a docker container with dependencies required for compiling Tensorflow Serving
# Clone the Tensorflow Serving source
git clone https://github.com/tensorflow/serving
cd serving && git checkout <commit_hash>
# Build the docker image (time to go get yourself a coffee, maybe a meal as well, this will take a while.)
docker build -t some_user_namespace/tensorflow-serving:latest -f ./serving/tensorflow_serving/tools/docker/Dockerfile.devel .
# Run up the Docker container in terminal
docker run -ti some_user_namespace/tensorflow-serving:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment