Lineage 2 Archive
MONCHE forum archive: 236 articles across six categories.
CATEGORIES
Information15
Game Clients29
Files & Tools32
Server Builds108
Server Sources35
Geodata17
Information
Automatic L2jMobius Build Compilation in Docker [DCR-L2jMobius]
Author: mindevis
DCR-L2jMobius v3.1
----
Compilation runs on Alpine Linux.
The image automatically installs Apache ANT 1.10.14 and JDK 17.
The source-code repository is downloaded automatically from the original source: l2jmobius.
Use compilation arguments to specify which server build you want to compile.
Mounting a local directory into the container gives you a compiled archive in that directory.
----
Download the image from Docker Hub
Starting the build:
----
This example compiles the project in the background.
docker run --name dcr-l2jmobius -d -v {local/path}:/home/ mindevis/dcr-l2jmobius:latest L2J_Mobius_C6_InterludeExample:
Windows:
docker run --name dcr-l2jmobius -d -v D:\compile:/home/ mindevis/dcr-l2jmobius:latest L2J_Mobius_C6_InterludeLinux:
docker run --name dcr-l2jmobius -d -v /home/compile:/home/ mindevis/dcr-l2jmobius:latest L2J_Mobius_C6_Interlude----
This example compiles the project interactively so you can see the entire build process.
Example:
Windows:
docker run --name dcr-l2jmobius -it -v D:\compile:/home/ mindevis/dcr-l2jmobius:latest L2J_Mobius_C6_InterludeLinux:
docker run --name dcr-l2jmobius -it -v /home/compile:/home/ mindevis/dcr-l2jmobius:latest L2J_Mobius_C6_InterludeCompilation arguments*
Important! Only one compilation argument may be used at a time!
The complete list of arguments is available on the Docker Hub
----
-v {local/path}:/home/Path to the folder on your local machine, not inside the container!
----
IMPORTANT!
In Docker for Windows settings, the folder must be shared with the container.
