Skip to content

Commit

Permalink
Add nodejs to docker for CI (#265)
Browse files Browse the repository at this point in the history
Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
  • Loading branch information
dvojtise committed Apr 29, 2022
1 parent c5a36f6 commit b485d0b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dev_support/jenkins/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN yum install -y yum-utils && \
RUN rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

# Node JS 17 cf. https://github.com/nodesource/distributions/blob/master/README.md#debinstall
RUN curl -sL https://rpm.nodesource.com/setup_17.x | bash -

RUN yum update -y \
&& yum install -y \
Expand Down Expand Up @@ -61,6 +63,7 @@ RUN yum update -y \
metacity \
mutter \
net-snmp-devel.x86_64 \
nodejs \
java-11-openjdk-devel \
openssl-devel.x86_64 \
patch \
Expand Down Expand Up @@ -103,9 +106,9 @@ RUN yum update -y \
zsh \
&& yum clean all

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
# 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 Down

0 comments on commit b485d0b

Please sign in to comment.