From 712383164204b90f15ff448a094138edadfa0aca Mon Sep 17 00:00:00 2001 From: Aaron Davidson Date: Wed, 26 Jun 2019 08:39:38 -0700 Subject: [PATCH] [Docs] Fix formatting of s2i docs page --- doc/source/wrappers/s2i.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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