Skip to content

Commit

Permalink
Merge pull request #661 from aarondav/s2i
Browse files Browse the repository at this point in the history
[Docs] Fix formatting of s2i docs page
  • Loading branch information
ukclivecox authored Jun 26, 2019
2 parents 2de8086 + 7123831 commit 8a49973
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/source/wrappers/s2i.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a49973

Please sign in to comment.