openshift-s2i / s2i-aspnet

Source-to-Image template for ASP.NET applications
16 stars 23 forks source link

What is the best way to build (from source) or docker image and deploy into OSE/CDK #8

Open alberttwong opened 8 years ago

alberttwong commented 8 years ago

@eformat @sabre1041 @jawnsy There seems to be so many different methods. We listed all of them on the README page but would like your input.

sabre1041 commented 8 years ago

@alberttwong So this repository contains two things: a S2I builder and a demonstration application that utilizes the S2I builder. The S2I builder uses the docker build strategy and any application that leverages the builder will use the source strategy type

alberttwong commented 8 years ago

@sabre1041 did you see mike's instructions below yours? Which one do you think would be a better example?

alberttwong commented 8 years ago

Maybe we also need a set of instructions for OSE to just load a pre-built docker+code image now that you mention it.

sabre1041 commented 8 years ago

Building the builder I could go either way. You can build them image using OSE or standalone and push to a docker registry (or even the integrated docker registry). The S2I tool should not be used in a standalone fashion when working with OSE as the tool is integrated and hardened within the product

alberttwong commented 8 years ago

We didn't put in the json option. What you think of that? (ex. oc create -f https://raw.githubusercontent.com/ryanj/origin-s2i-nodejs/master/image-streams.json)