diff --git a/doc/source/wrappers/s2i.md b/doc/source/wrappers/s2i.md index fa809172ce..9b6ef2c341 100644 --- a/doc/source/wrappers/s2i.md +++ b/doc/source/wrappers/s2i.md @@ -5,13 +5,19 @@ The general work flow is: 1. [Download and install s2i](https://github.com/openshift/source-to-image#installation) + 1. Choose the builder image that is most appropriate for your code and get usage instructions, for example: + ```bash s2i usage seldonio/seldon-core-s2i-python3 ``` + 1. Create a source code repo in the form acceptable for the builder image and build your docker container from it. Below we show an example using our seldon-core git repo which has some template examples for python models. + ``` - s2i build https://github.com/seldonio/seldon-core.git --context-dir=wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python seldon-core-template-model + s2i build https://github.com/seldonio/seldon-core.git \ + --context-dir=wrappers/s2i/python/test/model-template-app seldonio/seldon-core-s2i-python \ + seldon-core-template-model ``` At present we have s2i builder images for