Skip to content

Commit a8e666f

Browse files
falkzollmrutkows
authored andcommitted
Update to new jdk base images. (#95)
- Update core/java8 to adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jdk8u212-b04_openj9-0.14.2 This will add container awareness and will adjust the heap size of the JVM according to the memory limit the container has. - Update core/java8actionloop to adoptopenjdk/openjdk8:x86_64-ubuntu-jdk8u212-b04.
1 parent 1c78fcb commit a8e666f

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

core/java8/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919

2020
# Java 8 OpenWhisk Runtime Container
2121

22+
## 1.1.4
23+
Changes:
24+
- Update jdk adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jdk8u212-b04_openj9-0.14.2 [jdk8u181-b13_openj9-0.9.0](https://hub.docker.com/r/adoptopenjdk/openjdk8-openj9/tags/)
25+
Starting with [openj9-0.11.0}(https://github.com/eclipse/openj9/blob/b44844b02466ddf195eb9d8d6587ed89374a5f2a/doc/release-notes/0.11/0.11.md) container awareness is activated by default. This means, when the VM is running in a container, and a memory limit is set, the VM allocates more memory to the Java heap. Depending on the size of the memory limit.
26+
2227
## 1.1.3
2328
Changes:
2429
- Update jdk x86_64-ubuntu-jdk8u181-b13_openj9-0.9.0 and push latest hash [jdk8u181-b13_openj9-0.9.0](https://hub.docker.com/r/adoptopenjdk/openjdk8-openj9/tags/) [#77](https://github.com/apache/openwhisk-runtime-java/pull/77/files)

core/java8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
FROM adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jdk8u181-b13_openj9-0.9.0
18+
FROM adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jdk8u212-b04_openj9-0.14.2
1919

2020
RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update \
2121
&& apt-get install -y --no-install-recommends locales \

core/java8actionloop/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
FROM golang:1.12 as builder
1818
RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main
1919

20-
FROM adoptopenjdk/openjdk8:x86_64-ubuntu-jdk8u212-b03
20+
FROM adoptopenjdk/openjdk8:x86_64-ubuntu-jdk8u212-b04
2121

2222
RUN rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get update \
2323
&& apt-get install -y --no-install-recommends locales python vim \

0 commit comments

Comments
 (0)