Sample applications
To access the component over the web, create a URL using odo url create
.
java
This example helps build and run fat JAR Java applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the .
$ odo create java --git https://github.com/spring-projects/spring-petclinic.git
Build and run Node.js applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the Node.js 8 container image.
perl
$ odo create perl --git https://github.com/openshift/dancer-ex.git
This example helps build and run PHP applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the PHP 7.1 Docker image.
python
This example helps build and run Python applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the Python 3.6 container image.
Binary examples
java
Java can be used to deploy a binary artifact as follows:
$ git clone https://github.com/spring-projects/spring-petclinic.git
$ cd spring-petclinic
$ mvn package
$ odo push