Skip to content

Commit 7e5a46d

Browse files
committed
The image is now based upon Ubuntu Focal and uses Java 11 instead of Java 8
1 parent 2a185cb commit 7e5a46d

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

Dockerfile

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# By using such a container, we ensure the build is reproductible and doesn't depend on the
77
# environment context specific to the developer's host.
88
#
9-
FROM ubuntu:bionic
9+
FROM ubuntu:focal
1010

11-
LABEL name="Silverpeas Build" description="An image to build a Silverpeas project" vendor="Silverpeas" version=6.1 build=5
11+
LABEL name="Silverpeas Build" description="An image to build a Silverpeas project" vendor="Silverpeas" version=6.2 build=1
1212
MAINTAINER Miguel Moquillon "miguel.moquillon@silverpeas.org"
1313

1414
ENV TERM=xterm
@@ -17,8 +17,8 @@ ENV TERM=xterm
1717
ARG DEFAULT_LOCALE=fr_FR.UTF-8
1818
ARG MAVEN_VERSION=3.6.3
1919
ARG MAVEN_SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0
20-
ARG WILDFLY_VERSION=18.0.1
21-
ARG JAVA_VERSION=8
20+
ARG WILDFLY_VERSION=20.0.1
21+
ARG JAVA_VERSION=11
2222

2323
# Because the source code is shared between the host and the container, it is required the identifier
2424
# of the owner and of its group are the same between this two environments. By default, they are both set at 1000.
@@ -29,13 +29,17 @@ ARG GROUP_ID=1000
2929
COPY src/maven-deps.zip /tmp/
3030

3131
RUN apt-get update && apt-get install -y \
32+
apt-utils \
3233
iputils-ping \
3334
vim \
3435
curl \
3536
git \
3637
openssh-client \
3738
gnupg \
3839
locales \
40+
language-pack-en \
41+
language-pack-fr \
42+
tzdata \
3943
procps \
4044
net-tools \
4145
zip \
@@ -48,10 +52,13 @@ RUN apt-get update && apt-get install -y \
4852
libreoffice-calc \
4953
libreoffice-impress \
5054
gpgv \
51-
&& rm -rf /var/lib/apt/lists/* \
52-
&& update-ca-certificates -f \
55+
groovy \
5356
&& groupadd -g ${GROUP_ID} silveruser \
5457
&& useradd -u ${USER_ID} -g ${GROUP_ID} -G users -d /home/silveruser -s /bin/bash -m silveruser \
58+
&& curl -sL https://deb.nodesource.com/setup_10.x | bash - \
59+
&& apt-get install -y nodejs \
60+
&& rm -rf /var/lib/apt/lists/* \
61+
&& update-ca-certificates -f \
5562
&& mkdir -p /usr/share/maven /usr/share/maven/ref \
5663
&& curl -fsSL -o /tmp/apache-maven.tar.gz https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
5764
&& echo "${MAVEN_SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - \

0 commit comments

Comments
 (0)