You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,30 +104,33 @@ wsk action invoke --result helloJava --param name World
104
104
105
105
1. Start Docker Desktop (i.e., Docker daemon)
106
106
107
-
2. Build the Docker runtime image locally using Gradle:
107
+
2. Build the Docker runtime image locally using Gradle for the different runtime versions:
108
108
```
109
109
./gradlew core:java8:distDocker
110
+
./gradlew core:java11:distDocker
110
111
```
111
-
This will produce the image `whisk/java8action` and push it to the local Docker Desktop registry with the `latest` tag.
112
+
This will produce the images with the following names: `whisk/java8action`, `whisk/java11action` and push it to the local Docker Desktop registry with the `latest` tag.
112
113
113
114
3. Verify the image was registered:
114
115
```
115
116
$ docker images whisk/*
116
-
REPOSITORY TAG IMAGE ID CREATED SIZE
117
-
whisk/java8action latest 35f90453905a 7 minutes ago 521MB
117
+
REPOSITORY TAG IMAGE ID CREATED SIZE
118
+
whisk/java8action latest 549c70f347f6 7 minutes ago 563MB
119
+
whisk/java11action latest 31be41c73e5d 7 minutes ago 693MB
118
120
```
119
121
120
122
### Build and Push image to a remote Docker registry
121
123
122
-
Build the Docker runtime image locally using Gradle supplying the image Prefix and Registry domain (default port):
124
+
Build the Docker runtime images locally using Gradle supplying the image Prefix and Registry domain (default port):
0 commit comments