Last active
February 16, 2017 23:09
-
-
Save christian-posta/20f8863250bf89976b967c60489f25a8 to your computer and use it in GitHub Desktop.
Using f8 s2i-java for binary builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
so... first make a dir $ROOT_DIR | |
then make $ROOT_DIR/deployments | |
copy spring-boot.jar to $ROOT_DIR/deployments | |
then from $ROOT_DIR run this: | |
oc import-image --from=fabric8/s2i-java:1.3 s2i-java --confirm | |
oc new-build --binary=true --strategy=source --image-stream=s2i-java --name=sample-foo | |
oc start-build sample-foo --from-dir=. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment