Created
February 14, 2017 10:12
-
-
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
This file contains 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
# 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