Commit Graph

22 Commits

Author SHA1 Message Date
sfan5
0f2517070e Update Docker image base 2024-02-17 12:40:18 +01:00
ROllerozxa
570fc90bf6
Debundle Minetest Game (#13818) 2023-11-07 22:18:26 +01:00
JosiahWI
28fce8aad5
Add dev stage to docker image (#13573) 2023-07-30 15:29:25 +01:00
Tamara Schmitz
aa3505a9e4
Add missing optional dependencies to Container Image (#12914) 2022-12-04 12:35:03 +01:00
Tamara Schmitz
6191bafcad
Dockerfile: refactoring and addition of entrypoint (#12939)
Previously source files were copied first, then build dependencies were
installed, then libraries cloned and built.
This was reordered to be:
1. install dependencies
2. clone and build libraries
3. Pull in minetest source and minetest_game
4. Build minetest

In addition the peristent volumes are now declared.
Also an entrypoint added making it possible to append command line
parameters.
2022-11-08 16:34:58 +01:00
ShadowNinja
24a0f55c9c Use CMake's -B, --build, and --install options 2022-04-08 14:55:21 +01:00
Buckaroo Banzai
bcb6565483
Add missing zstd-libs to final Docker image
Also add `minetestserver --version` command to verify docker build in CI
2021-09-07 15:29:57 +02:00
lhofhansl
d1624a5521
Switch MapBlock compression to zstd (#10788)
* Add zstd support.
* Rearrange serialization order
* Compress entire mapblock

Co-authored-by: sfan5 <sfan5@live.de>
2021-08-31 17:32:31 -07:00
Loïc Blot
ff3aa18436
fix: update to alpine 3.14 (#11570) 2021-08-24 14:52:05 +02:00
Bensuperpc
4b9a51ff0d
Update Dockerfile and improve build speed (#11313)
Use ninja to build image, rename docker build steps: builder and runtime, add argument for docker image version

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-21 18:55:38 +01:00
Loic Blot
5de849713e fix(docker): reduce the number of required libraries on build 2021-04-02 14:40:22 +02:00
Loic Blot
78da79b60f fix: use irrlicht fork instead of the standard library 2021-04-02 14:40:22 +02:00
Loic Blot
c4b048fbb3 fix: don't send the whole local context to the docker image 2021-04-02 14:40:22 +02:00
Lejo
13b50f55a4
Fix missing jsoncpp in the Docker image 2021-03-09 00:57:12 +01:00
Buckaroo Banzai
9eb4516cbc
Enable LuaJIT on the Docker image (#10414) 2020-09-26 15:32:49 +02:00
Loic Blot
56bababcdf Add MetricsBackend with prometheus counter support 2020-04-29 07:48:08 +02:00
Loïc Blot
7539267d37
Add an option to disable unittest build, & disable them on Docker build (#9677) 2020-04-16 20:43:49 +02:00
ㄗㄠˋ ㄑㄧˊ
d7e706ac9d
Dockerfile: use alpine to reduce size (#9226)
* Dockerfile: use alpine to reduce size

* Fix the UID & GID + alpine version + rights

* Reduce the junk when we copy, only copy needed files

* Build in the right cmake place & permit customize mtg version

* Latest build fixes

Co-authored-by: Loïc Blot <nerzhul@users.noreply.github.com>
2020-04-12 11:00:56 +02:00
Loïc Blot
12275e235a
Automated build changes (#9619)
* Automated build changes
* drop a useless ubuntu non lts version
* update gitlab ci syntax to modern one
* add debian 10 step on the gitlab ci pipeline
* switch docker build to Debian 10
* add .gradle folder to gitignore
2020-04-09 20:46:06 +02:00
rubenwardy
6d472b1840 Fix syntax error in Dockerfile 2020-01-17 19:14:58 +00:00
Zaoqi
39a1e6660e Dockerfile: correct apt clean + git clone --depth 1 + remove .git (#8697) 2019-12-17 14:34:21 +01:00
Loïc Blot
ca141ed491
Add a Dockerfile + gitlab CI build (#7968)
* Add a minetest docker file
* Clone minetest_game from git directly
2018-12-12 00:00:08 +01:00