6
6
# By using such a container, we ensure the build is reproductible and doesn't depend on the
7
7
# environment context specific to the developer's host.
8
8
#
9
- FROM ubuntu:bionic
9
+ FROM ubuntu:focal
10
10
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
12
12
MAINTAINER Miguel Moquillon "miguel.moquillon@silverpeas.org"
13
13
14
14
ENV TERM=xterm
@@ -17,8 +17,8 @@ ENV TERM=xterm
17
17
ARG DEFAULT_LOCALE=fr_FR.UTF-8
18
18
ARG MAVEN_VERSION=3.6.3
19
19
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
22
22
23
23
# Because the source code is shared between the host and the container, it is required the identifier
24
24
# 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
29
29
COPY src/maven-deps.zip /tmp/
30
30
31
31
RUN apt-get update && apt-get install -y \
32
+ apt-utils \
32
33
iputils-ping \
33
34
vim \
34
35
curl \
35
36
git \
36
37
openssh-client \
37
38
gnupg \
38
39
locales \
40
+ language-pack-en \
41
+ language-pack-fr \
42
+ tzdata \
39
43
procps \
40
44
net-tools \
41
45
zip \
@@ -48,10 +52,13 @@ RUN apt-get update && apt-get install -y \
48
52
libreoffice-calc \
49
53
libreoffice-impress \
50
54
gpgv \
51
- && rm -rf /var/lib/apt/lists/* \
52
- && update-ca-certificates -f \
55
+ groovy \
53
56
&& groupadd -g ${GROUP_ID} silveruser \
54
57
&& 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 \
55
62
&& mkdir -p /usr/share/maven /usr/share/maven/ref \
56
63
&& 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 \
57
64
&& echo "${MAVEN_SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - \
0 commit comments