Skip to content

Commit a630ba6

Browse files
doc: Update README.rst
Adds the commands to create pip-installable binary Co-authored-by: Chuyang <chuyangdeng@gmail.com>
1 parent c05b857 commit a630ba6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ Tagging scheme is based on <tensorflow_version>-<processor>-<python_version>. (e
7676
All "final" Dockerfiles build images using base images that use the tagging scheme
7777
above.
7878

79+
Before building these images, you need to have a pip-installable binary of this repository saved locally. To create the SageMaker Tensorflow Container Python package:
80+
81+
::
82+
# Create the binary
83+
git clone https://github.com/aws/sagemaker-tensorflow-container.git
84+
cd sagemaker-tensorflow-container
85+
python setup.py sdist
86+
cp dist/sagemaker_tensorflow_training*.tar.gz docker/<tensorflow_version>/sagemaker_tensorflow_training.tar.gz
87+
88+
Once you have copied the tensorflow_training.tar.gz to the desired location [same directory as the Dockerfile], you can then build the image.
89+
7990
If you want to build your "base" Docker image, then use:
8091

8192
::

0 commit comments

Comments
 (0)