-
-
Save obinsc/452bb7fcd73aa96e39c0c483e12ac7c2 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 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
| # 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