Skip to content

Commit e377845

Browse files
committed
Prepare for Java 11
1 parent 577f5ae commit e377845

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:bionic
1+
FROM ubuntu:focal
22

33
MAINTAINER Miguel Moquillon "miguel.moquillon@silverpeas.org"
44

@@ -13,11 +13,14 @@ ENV TERM=xterm
1313
RUN apt-get update && apt-get install -y \
1414
wget \
1515
locales \
16+
language-pack-en \
17+
language-pack-fr \
18+
tzdata \
1619
procps \
1720
net-tools \
1821
zip \
1922
unzip \
20-
openjdk-8-jdk \
23+
openjdk-11-jdk \
2124
ffmpeg \
2225
imagemagick \
2326
ghostscript \
@@ -62,12 +65,12 @@ ENV LC_ALL ${DEFAULT_LOCALE}
6265
#
6366

6467
# Set up environment variables for Silverpeas
65-
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
68+
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
6669
ENV SILVERPEAS_HOME /opt/silverpeas
6770
ENV JBOSS_HOME /opt/wildfly
6871

69-
ARG SILVERPEAS_VERSION=6.1
70-
ARG WILDFLY_VERSION=18.0.1
72+
ARG SILVERPEAS_VERSION=6.2-SNAPSHOT
73+
ARG WILDFLY_VERSION=20.0.1
7174
LABEL name="Silverpeas 6" description="An all-to-one image to run Silverpeas 6 for testing purpose" vendor="Silverpeas" version=${SILVERPEAS_VERSION} build=1
7275

7376
# Fetch both Silverpeas and Wildfly and unpack them into /opt

0 commit comments

Comments
 (0)