Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Fix formatting of s2i docs page #661

Merged
merged 1 commit into from
Jun 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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