Skip to content

Commit d2e9444

Browse files
committed
Update a README.md
1 parent 8890ca3 commit d2e9444

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
[![Build Status](https://travis-ci.org/apache/incubator-openwhisk-runtime-java.svg?branch=master)](https://travis-ci.org/apache/incubator-openwhisk-runtime-java)
2323

2424
## Changelogs
25-
- [Java 8 CHANGELOG.md](java8/CHANGELOG.md)
25+
- [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
```
100103
This 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
```
104113
docker 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+
108125
Deploy OpenWhisk using ansible environment that contains the kind `java:8`
109126
Assuming you have OpenWhisk already deploy localy and `OPENWHISK_HOME` pointing to root directory of OpenWhisk core repository.
110127

0 commit comments

Comments
 (0)