You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a few docker images to ease running and building MMBase in these new ages. Basically they are java 8, which is already a bit more modern then the latest releases back then. It shouldn't be a big issue to run on more recent jvm's so experimentally also java 25 images are built.
8
7
@@ -25,44 +24,36 @@ and `major java version` is either `8` or `25` currently.
25
24
:leveloffset: +1
26
25
27
26
28
-
= mmbase/env:latest
27
+
= mmbase/env:{tag}
29
28
30
29
This is the base image which contains minimal tools to run MMBase.
31
30
I.e. it is a debian image with java (8 or 25) and image magick.
32
31
33
32
To run the streams application 'ffmpeg' is needed, which be installed additionally.
34
33
35
-
Also a proper prompt and other convenience tools are installed.
34
+
Also, a proper prompt and other convenience tools are installed.
36
35
37
36
38
37
39
-
= mmbase/tomcat:latest
38
+
= mmbase/tomcat:{tag}
40
39
41
40
This image is based on `mmbase/env` and sets up also a tomcat. Without any application though. It basically serves as a base image for other images containing actual applications
42
41
43
42
E.g.
44
43
45
-
[source, Dockerfile]
44
+
[source, Dockerfile, subs="attributes"]
46
45
----
47
-
from ghcr.io/mmbase/tomcat:latest
46
+
FROM ghcr.io/mmbase/tomcat:{tag}
48
47
48
+
ARG MARIA_DB_VERSION=3.5.7
49
49
50
-
COPY target/oip-1.2-SNAPSHOT.war /tmp
51
-
----
50
+
RUN curl --fail -L https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/${MARIA_DB_VERSION}/mariadb-java-client-${MARIA_DB_VERSION}.jar -o ${CATALINA_BASE}/lib/mariadb-java-client-${MARIA_DB_VERSION}.jar
52
51
53
-
= mmbase/example-webapp:latest
52
+
# ON BUILD, the war in target/*.war will be used
54
53
55
-
This e.g. is then based on `mmbase/tomcat` but also installs the 'example-webapp' (currently `1.9-SNAPSHOT`)
56
-
57
-
You may run it like so:
58
-
[source, base]
59
-
----
60
-
docker run --name mmbase-example-webapp -p 8080:8080 mmbase/example-webapp:latest
61
54
----
62
55
63
-
This will start the 'example' application on 8080. It is running on a non-persistent hsql database then.
64
-
65
-
= mmbase/build:latest
56
+
= mmbase/build:{tag}
66
57
67
58
This is currently used to https://github.com/mmbase/mmbase/actions[build MMBase].
68
59
@@ -73,14 +64,31 @@ It contains the tools necessary for that. I.e. the build tools itself, but some
0 commit comments