Skip to content

Commit ba3ca15

Browse files
committed
Update README.md
1 parent 162c53d commit ba3ca15

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
## Changelogs
2525
- [Java 8 CHANGELOG.md](core/java8/CHANGELOG.md)
26+
- [Java 8 ActionLoop CHANGELOG.md](core/java8actionloop/CHANGELOG.md)
27+
- [Java 11 ActionLoop CHANGELOG.md](core/java11actionloop/CHANGELOG.md)
2628

2729

2830
## Quick Java Action
@@ -103,30 +105,36 @@ wsk action invoke --result helloJava --param name World
103105

104106
1. Start Docker Desktop (i.e., Docker daemon)
105107

106-
2. Build the Docker runtime image locally using Gradle:
108+
2. Build the Docker runtime image locally using Gradle for the different runtime versions:
107109
```
108110
./gradlew core:java8:distDocker
111+
./gradlew core:java8actionloop:distDocker
112+
./gradlew core:java11actionloop:distDocker
109113
```
110-
This will produce the image `whisk/java8action` and push it to the local Docker Desktop registry with the `latest` tag.
114+
This will produce the image `whisk/java8action`, `whisk/actionloop-java-v8`, and `whisk/actionloop-java-v11`, and will push it to the local Docker Desktop registry with the `latest` tag.
111115

112116
3. Verify the image was registered:
113117
```
114118
$ docker images whisk/*
115-
REPOSITORY TAG IMAGE ID CREATED SIZE
116-
whisk/java8action latest 35f90453905a 7 minutes ago 521MB
119+
REPOSITORY TAG IMAGE ID CREATED SIZE
120+
whisk/java8action latest e92776cb3b81 3 hours ago 587MB
121+
whisk/actionloop-java-v8 latest aca22c730f31 3 hours ago 426MB
122+
whisk/actionloop-java-v11 latest 921f4868f087 15 minutes ago 450MB
117123
```
118124

119125
### Build and Push image to a remote Docker registry
120126

121-
Build the Docker runtime image locally using Gradle supplying the image Prefix and Registry domain (default port):
127+
Build the Docker runtime images locally using Gradle supplying the image Prefix and Registry domain (default port):
122128
```
123129
docker login
124130
./gradlew core:java8:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
131+
./gradlew core:java8actionloop:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
132+
./gradlew core:java11actionloop:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
125133
```
126134

127135
## Deploying the Java runtime image to OpenWhisk
128136

129-
Deploy OpenWhisk using ansible environment that contains the kind `java:8`
137+
Deploy OpenWhisk using ansible environment that contains the kind `java:8` and `java:11`
130138
Assuming you have OpenWhisk already deployed locally and `OPENWHISK_HOME` pointing to root directory of OpenWhisk core repository.
131139

132140
Set `ROOTDIR` to the root directory of this repository.

0 commit comments

Comments
 (0)