File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323
2424## Changelogs
2525- [ Java 8 CHANGELOG.md] ( core/java8/CHANGELOG.md )
26+ - [ Java 11 CHANGELOG.md] ( core/java8/CHANGELOG.md )
2627
2728
2829## Quick Java Action
@@ -94,17 +95,33 @@ wsk action invoke --result helloJava --param name World
9495```
9596
9697## Local development
98+
99+ For Java 8
97100```
98101./gradlew core:java8:distDocker
99102```
100103This will produce the image ` whisk/java8action `
101104
102- Build and Push image
105+ For Java 11
106+ ```
107+ ./gradlew core:java11:distDocker
108+ ```
109+ This will produce the image ` whisk/java11action `
110+
111+ Build and Push image for Java 8
103112```
104113docker login
105114./gradlew core:java8:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
106115```
107116
117+ Build and Push image for Java 11
118+ ```
119+ docker login
120+ ./gradlew core:java11:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
121+ ```
122+
123+ The ` $user_prefix ` is usually your dockerhub user id.
124+
108125Deploy OpenWhisk using ansible environment that contains the kind ` java:8 `
109126Assuming you have OpenWhisk already deploy localy and ` OPENWHISK_HOME ` pointing to root directory of OpenWhisk core repository.
110127
You can’t perform that action at this time.
0 commit comments