Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker ci eclipse jenkins image #261

Merged
merged 3 commits into from
Feb 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions dev_support/jenkins/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ RUN yum update -y \
vino \
webkitgtk \
webkitgtk3 \
webkitgtk4 \
wget \
xdg-utils \
xmlstarlet \
xorg-x11-apps.x86_64 \
xorg-x11-drv-dummy.x86_64 \
Expand All @@ -101,9 +103,9 @@ RUN yum update -y \
zsh \
&& yum clean all

RUN alternatives --set java /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64/bin/java \
&& alternatives --set javac /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64/bin/javac
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el7_9.x86_64
RUN alternatives --set java /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-1.el7_9.x86_64/bin/java \
&& alternatives --set javac /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-1.el7_9.x86_64/bin/javac
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-1.el7_9.x86_64


# Setting Maven Version that needs to be installed
Expand All @@ -117,11 +119,12 @@ ENV M2_HOME /usr/share/maven

ENV HOME=/home/jenkins

RUN wget https://gluonhq.com/download/javafx-11-0-2-sdk-linux -O ${HOME}/javafx-11-0-2-sdk-linux.zip
RUN unzip ${HOME}/javafx-11-0-2-sdk-linux.zip -d /usr/share/
RUN rm ${HOME}/javafx-11-0-2-sdk-linux.zip

ENV JAVAFX_HOME=/usr/share/javafx-sdk-11.0.2
RUN wget https://download2.gluonhq.com/openjfx/17.0.2/openjfx-17.0.2_linux-x64_bin-sdk.zip -O ${HOME}/openjfx-17.0.2_linux-x64_bin-sdk.zip
RUN unzip ${HOME}/openjfx-17.0.2_linux-x64_bin-sdk.zip -d /usr/share/
RUN rm ${HOME}/openjfx-17.0.2_linux-x64_bin-sdk.zip

ENV JAVAFX_HOME=/usr/share/javafx-sdk-17.0.2

RUN ln -s /usr/bin/git /usr/local/bin/git \
&& ln -s /bin/bash /usr/local/bin/hipp_shell \
Expand Down