Skip to content

Commit

Permalink
updated to OpenJ9 0.12.1 docker base image
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch-si.com>
  • Loading branch information
thjaeckle committed Feb 11, 2019
1 parent d929c66 commit d3eb1d2
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
12 changes: 6 additions & 6 deletions deployment/docker/docker-compose.yml
Expand Up @@ -24,7 +24,7 @@ services:
- TZ=Europe/Berlin
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- REMOTING_IDLE_CPU_LEVEL=1

things:
Expand All @@ -41,7 +41,7 @@ services:
- TZ=Europe/Berlin
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- REMOTING_IDLE_CPU_LEVEL=1

things-search:
Expand All @@ -58,7 +58,7 @@ services:
- TZ=Europe/Berlin
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- REMOTING_IDLE_CPU_LEVEL=1

concierge:
Expand All @@ -75,7 +75,7 @@ services:
- TZ=Europe/Berlin
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- REMOTING_IDLE_CPU_LEVEL=1

connectivity:
Expand All @@ -93,7 +93,7 @@ services:
- TZ=Europe/Berlin
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- REMOTING_IDLE_CPU_LEVEL=1

gateway:
Expand All @@ -115,7 +115,7 @@ services:
- BIND_HOSTNAME=0.0.0.0
- REMOTING_IDLE_CPU_LEVEL=1
- ENABLE_DUMMY_AUTH=true
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError

swagger-ui:
image: docker.io/swaggerapi/swagger-ui:v3.20.5
Expand Down
12 changes: 6 additions & 6 deletions deployment/docker/sandbox/docker-compose.yml
Expand Up @@ -26,7 +26,7 @@ services:
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- REMOTING_IDLE_CPU_LEVEL=1
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- MONGO_COLLECTION_NAME_SUFFIX_CLASS=

things:
Expand All @@ -44,7 +44,7 @@ services:
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- REMOTING_IDLE_CPU_LEVEL=1
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- MONGO_COLLECTION_NAME_SUFFIX_CLASS=

things-search:
Expand All @@ -62,7 +62,7 @@ services:
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- REMOTING_IDLE_CPU_LEVEL=1
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s

concierge:
init: true
Expand All @@ -79,7 +79,7 @@ services:
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- REMOTING_IDLE_CPU_LEVEL=1
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s

connectivity:
init: true
Expand All @@ -97,7 +97,7 @@ services:
- INSTANCE_INDEX=1
- BIND_HOSTNAME=0.0.0.0
- REMOTING_IDLE_CPU_LEVEL=1
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s

gateway:
init: true
Expand All @@ -117,7 +117,7 @@ services:
- REMOTING_IDLE_CPU_LEVEL=1
- ENABLE_DUMMY_AUTH=true
- DEVOPS_SECURE_STATUS=false
- IBM_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s
- OPENJ9_JAVA_OPTIONS=-XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s

swagger-ui:
image: docker.io/swaggerapi/swagger-ui:v3.20.5
Expand Down
12 changes: 6 additions & 6 deletions deployment/kubernetes/ditto/ditto-cluster.yaml
Expand Up @@ -53,7 +53,7 @@ spec:
value: "kubernetes-api"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
---
apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -110,7 +110,7 @@ spec:
value: "kubernetes-api"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
---
apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -167,7 +167,7 @@ spec:
value: "kubernetes-api"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
---
apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -223,7 +223,7 @@ spec:
value: "kubernetes-api"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
---
apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -279,7 +279,7 @@ spec:
value: "kubernetes-api"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
---
apiVersion: extensions/v1beta1
Expand Down Expand Up @@ -337,7 +337,7 @@ spec:
value: "kubernetes-api"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
---
apiVersion: v1
Expand Down
12 changes: 6 additions & 6 deletions deployment/openshift/ditto/ditto-cluster.yaml
Expand Up @@ -64,7 +64,7 @@ spec:
value: "default"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-Xtune:virtualized -XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
- name: MONGO_DB_URI
valueFrom:
Expand Down Expand Up @@ -137,7 +137,7 @@ spec:
value: "default"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-Xtune:virtualized -XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
- name: MONGO_DB_URI
valueFrom:
Expand Down Expand Up @@ -210,7 +210,7 @@ spec:
value: "default"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-Xtune:virtualized -XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
- name: MONGO_DB_URI
valueFrom:
Expand Down Expand Up @@ -282,7 +282,7 @@ spec:
value: "default"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-Xtune:virtualized -XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
- name: MONGO_DB_URI
valueFrom:
Expand Down Expand Up @@ -354,7 +354,7 @@ spec:
value: "default"
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-Xtune:virtualized -XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
- name: MONGO_DB_URI
valueFrom:
Expand Down Expand Up @@ -430,7 +430,7 @@ spec:
value: 0.0.0.0
- name: TZ
value: "Europe/Berlin"
- name: IBM_JAVA_OPTIONS
- name: OPENJ9_JAVA_OPTIONS
value: "-Xtune:virtualized -XX:MaxRAMPercentage=80 -XX:InitialRAMPercentage=40 -XX:+ExitOnOutOfMemoryError"
- name: DEVOPS_PASSWORD
value: "dittoPW1!"
Expand Down
2 changes: 1 addition & 1 deletion services/pom.xml
Expand Up @@ -48,7 +48,7 @@
<docker.registry>docker.io</docker.registry>
<docker.repository>${docker.registry}/eclipse</docker.repository>
<docker.image.additional.tag/>
<docker.image.jdk>docker.io/adoptopenjdk/openjdk8-openj9:x86_64-alpine-jdk8u192-b12_openj9-0.11.0-slim</docker.image.jdk>
<docker.image.jdk>docker.io/adoptopenjdk/openjdk8-openj9:x86_64-alpine-jdk8u202-b08_openj9-0.12.1-slim</docker.image.jdk>
<docker.image.port>8080</docker.image.port>

<policies.docker.image.name>ditto-policies</policies.docker.image.name>
Expand Down
2 changes: 1 addition & 1 deletion services/src/Dockerfile
@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk8-openj9:x86_64-alpine-jdk8u192-b12_openj9-0.11.0-slim
FROM adoptopenjdk/openjdk8-openj9:x86_64-alpine-jdk8u202-b08_openj9-0.12.1-slim

ARG MAVEN_REPO=https://repo.eclipse.org/content/repositories/ditto/org/eclipse/ditto/
ARG SERVICE_STARTER
Expand Down

0 comments on commit d3eb1d2

Please sign in to comment.