---> Building and installing application from source...
```
```
Using the logic defined in the *assemble* script, s2i will now create an application image using the builder image as a base and including the source code from the test/test-app directory.
Using the logic defined in the *assemble* script, s2i will now create an application image using the builder image as a base and including the source code from the test/test-app directory.
@ -38,7 +35,27 @@ The application, which consists of a simple static web page, should now be acces
### Using OpenShift
### Using OpenShift
TODO
#### Create the builder image
The following command will create a builder image named golang-centos7.
The application image combines the builder image with your applications source code, which is served using whatever application is installed via the *Dockerfile*, compiled using the *assemble* script, and run using the *run* script.
The following command will create the application image:
Using the logic defined in the *assemble* script, s2i will now create an application image using the builder image as a base and including the source code from the test/test-app directory.
#### Running the application image
Running the application image is as simple as invoking the "oc new-app" command:
```
$ oc expose service golang-centos7-app
$ oc get route golang-centos7-app
```
The application, which consists of a simple static web page, should now be accessible at the url shown on last command (oc get route).