Skip to content

Commit eed45a7

Browse files
committed
Add JRE 8 to the Docker images to support running Clouseau
This change makes it possible to run tests that require the Search functionality to be configured. Therefore the test coverage could be increased and issues could be caught with the related applications, such as Dreyfus and the `text` searches in Mango.
1 parent b504258 commit eed45a7

File tree

9 files changed

+45
-0
lines changed

9 files changed

+45
-0
lines changed

dockerfiles/almalinux-8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2424
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2525
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2626

27+
# These are needed for the Clouseau integration
28+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
29+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
30+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
31+
2732
# Choose whether to install SpiderMonkey 1.8.5, default yes
2833
ARG js=js
2934
# Choose whether to install Erlang, default yes

dockerfiles/almalinux-9

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2424
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2525
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2626

27+
# These are needed for the Clouseau integration
28+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
29+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
30+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
31+
2732
# Choose whether to install SpiderMonkey 1.8.5, default yes
2833
ARG js=js
2934
# Choose whether to install Erlang, default yes

dockerfiles/centos-7

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2424
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2525
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2626

27+
# These are needed for the Clouseau integration
28+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
29+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
30+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
31+
2732
# Choose whether to install SpiderMonkey 1.8.5, default yes
2833
ARG js=js
2934
# Choose whether to install Erlang, default yes

dockerfiles/debian-bookworm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2626
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2727
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2828

29+
# These are needed for the Clouseau integration
30+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
31+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
32+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
33+
2934
# Choose whether to install SpiderMonkey 1.8.5, default yes
3035
ARG js=js
3136
# Choose whether to install Erlang, default yes

dockerfiles/debian-bullseye

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2626
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2727
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2828

29+
# These are needed for the Clouseau integration
30+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
31+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
32+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
33+
2934
# Choose whether to install SpiderMonkey 1.8.5, default yes
3035
ARG js=js
3136
# Choose whether to install Erlang, default yes

dockerfiles/debian-buster

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2626
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2727
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2828

29+
# These are needed for the Clouseau integration
30+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
31+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
32+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
33+
2934
# Choose whether to install SpiderMonkey 1.8.5, default yes
3035
ARG js=js
3136
# Choose whether to install Erlang, default yes

dockerfiles/ubuntu-bionic

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2424
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2525
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2626

27+
# These are needed for the Clouseau integration
28+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
29+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
30+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
31+
2732
# Choose whether to install SpiderMonkey 1.8.5, default yes
2833
ARG js=js
2934
# Choose whether to install Erlang, default yes

dockerfiles/ubuntu-focal

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2424
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2525
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2626

27+
# These are needed for the Clouseau integration
28+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
29+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
30+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
31+
2732
# Choose whether to install SpiderMonkey 1.8.5, default yes
2833
ARG js=js
2934
# Choose whether to install Erlang, default yes

dockerfiles/ubuntu-jammy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ENV JAVA_HOME=/opt/java/openjdk
2424
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
2525
ENV PATH="${JAVA_HOME}/bin:${PATH}"
2626

27+
# These are needed for the Clouseau integration
28+
ENV CLOUSEAU_JAVA_HOME=/opt/java/openjdk8
29+
COPY --from=ibm-semeru-runtimes:open-8-jre /opt/java/openjdk $CLOUSEAU_JAVA_HOME
30+
ENV PATH=/usr/local/lib/erlang/bin:"${PATH}"
31+
2732
# Choose whether to install SpiderMonkey 1.8.5, default yes
2833
ARG js=js
2934
# Choose whether to install Erlang, default yes

0 commit comments

Comments
 (0)