Skip to content

Commit 1264770

Browse files
silverusermmoqui
authored andcommitted
Generate Dockerfile for Silverpeas 6.3.5
1 parent d42c81b commit 1264770

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ ENV JAVA_HOME /docker-java-home
9292
ENV SILVERPEAS_HOME /opt/silverpeas
9393
ENV JBOSS_HOME /opt/wildfly
9494

95-
ENV SILVERPEAS_VERSION=6.3.4
95+
ENV SILVERPEAS_VERSION=6.3.5
9696
ENV WILDFLY_VERSION=26.1.1
97-
LABEL name="Silverpeas 6.3.4" description="Image to install and to run Silverpeas 6.3.4" vendor="Silverpeas" version="6.3.4" build=1
97+
LABEL name="Silverpeas 6.3.5" description="Image to install and to run Silverpeas 6.3.5" vendor="Silverpeas" version="6.3.5" build=1
9898

9999
# Fetch both Silverpeas and Wildfly and unpack them into /opt
100100
RUN wget -nc https://www.silverpeas.org/files/silverpeas-${SILVERPEAS_VERSION}-wildfly${WILDFLY_VERSION%.?.?}.zip \

generate-docker-library.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,27 @@ GitFetch: refs/heads/$3
1515
EOE
1616
}
1717

18+
isFirst=1
19+
currentBase=""
20+
count=0
21+
for version in `git tag | tac | grep "^[0-9.]\+$"`; do
22+
base=`echo $version | grep -o "[0-9].[0-9]"`
23+
if [ "$base" != "$currentBase" ]; then
24+
currentBase="$base"
25+
else
26+
continue
27+
fi
28+
29+
test $count -eq 1 && break
30+
31+
count=$(( count + 1 ))
32+
commit=`git rev-parse ${version}`
33+
fetch=`echo ${version} | grep -o "[0-9].[0-9]"`.x
34+
if [ $isFirst -eq 1 ]; then
35+
isFirst=0
36+
printVersion "${version}, latest" ${commit} ${fetch}
37+
else
38+
test $version = "6.2.3" && version="6.2.3-b1"
39+
printVersion "${version}" ${commit} ${fetch}
40+
fi
41+
done

0 commit comments

Comments
 (0)