Skip to content

Commit a5a5b9e

Browse files
committed
Update Dockerfile for the latest LTS version of Ubuntu and for the latest LTS version of Java
Update NodeJS to 16 and Groovy to 4.0.6
1 parent 9b63258 commit a5a5b9e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
# like .m2/settings.xml, .gitconfig, .gnupg and .ssh of the current user in the host are shared with
1717
# the container in order to be able to interact with his remote services.
1818
#
19-
FROM ubuntu:focal
19+
FROM ubuntu:jammy
2020

21-
LABEL name="Silverpeas Dev" description="A Docker image to dev and to build a Silverpeas project" vendor="Silverpeas" version=6.3
21+
LABEL name="Silverpeas Dev" description="A Docker image to dev and to build a Silverpeas project" vendor="Silverpeas" version="6.4-SNAPSHOT" build=1
2222
MAINTAINER Miguel Moquillon "miguel.moquillon@silverpeas.org"
2323

2424
ENV TERM=xterm
@@ -29,10 +29,10 @@ ENV DEBIAN_FRONTEND=noninteractive
2929
ARG DEFAULT_LOCALE=fr_FR.UTF-8
3030
ARG MAVEN_VERSION=3.8.6
3131
ARG MAVEN_SHA=f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26
32-
ARG WILDFLY_VERSION=26.1.1
33-
ARG JAVA_VERSION=11
34-
ARG GROOVY_VERSION=3.0.13
35-
ARG GROOVY_SHA=e810267ddd1a8e3edad5c240d56a80d475adaa281251d7e544873b9a937e7a14
32+
ARG WILDFLY_VERSION=26.1.2
33+
ARG JAVA_VERSION=17
34+
ARG GROOVY_VERSION=4.0.6
35+
ARG GROOVY_SHA=e3b541567e65787279f02031206589bcdf3cdaab9328d9e4d72ad23a86aa1053
3636
ARG NODEJS_VERSION=16
3737

3838
# Because the source code is shared between the host and the container, it is required the identifier
@@ -90,7 +90,7 @@ RUN apt-get update \
9090
&& curl -fsSL -o /tmp/apache-groovy.zip https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-${GROOVY_VERSION}.zip \
9191
&& echo "${GROOVY_SHA} /tmp/apache-groovy.zip" | sha256sum -c - \
9292
&& unzip /tmp/apache-groovy.zip -d /opt/ \
93-
&& echo `grep -oP '(?<=")[a-zA-Z:/]+(?=")' /etc/environment`:/opt/groovy-{GROOVY_VERSION}/bin > /etc/environment \
93+
&& echo `grep -oP '(?<=")[a-zA-Z:/]+(?=")' /etc/environment`:/opt/groovy-${GROOVY_VERSION}/bin > /etc/environment \
9494
&& mkdir /home/silveruser/bin \
9595
&& echo "PATH=${PATH}:/home/silveruser/bin" >> /home/silveruser/.bashrc \
9696
&& curl -fsSL -o /tmp/swftools-bin-0.9.2.zip https://www.silverpeas.org/files/swftools-bin-0.9.2.zip \

0 commit comments

Comments
 (0)