aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
Commit message (Expand)AuthorAge
* Use CMake's -B, --build, and --install optionsShadowNinja2022-04-08
* Add missing zstd-libs to final Docker imageBuckaroo Banzai2021-09-07
* Switch MapBlock compression to zstd (#10788)lhofhansl2021-08-31
* fix: update to alpine 3.14 (#11570)Loïc Blot2021-08-24
* Update Dockerfile and improve build speed (#11313)Bensuperpc2021-06-21
* fix(docker): reduce the number of required libraries on buildLoic Blot2021-04-02
* fix: use irrlicht fork instead of the standard libraryLoic Blot2021-04-02
* fix: don't send the whole local context to the docker imageLoic Blot2021-04-02
* Fix missing jsoncpp in the Docker imageLejo2021-03-09
* Enable LuaJIT on the Docker image (#10414)Buckaroo Banzai2020-09-26
* Add MetricsBackend with prometheus counter supportLoic Blot2020-04-29
* Add an option to disable unittest build, & disable them on Docker build (#9677)Loïc Blot2020-04-16
* Dockerfile: use alpine to reduce size (#9226)ㄗㄠˋ ㄑㄧˊ2020-04-12
* Automated build changes (#9619)Loïc Blot2020-04-09
* Fix syntax error in Dockerfilerubenwardy2020-01-17
* Dockerfile: correct `apt clean` + git clone --depth 1 + remove .git (#8697)Zaoqi2019-12-17
* Add a Dockerfile + gitlab CI build (#7968)Loïc Blot2018-12-12
l esc">\\" struct SubgameSpec { std::string id; // "" = game does not exist std::string path; // path to game std::string gamemods_path; //path to mods of the game std::set<std::string> addon_mods_paths; //paths to addon mods for this game std::string name; std::string menuicon_path; SubgameSpec(const std::string &id_="", const std::string &path_="", const std::string &gamemods_path_="", const std::set<std::string> &addon_mods_paths_=std::set<std::string>(), const std::string &name_="", const std::string &menuicon_path_=""): id(id_), path(path_), gamemods_path(gamemods_path_), addon_mods_paths(addon_mods_paths_), name(name_), menuicon_path(menuicon_path_) {} bool isValid() const { return (id != "" && path != ""); } }; // minetest.conf bool getGameMinetestConfig(const std::string &game_path, Settings &conf); // game.conf bool getGameConfig(const std::string &game_path, Settings &conf); std::string getGameName(const std::string &game_path); SubgameSpec findSubgame(const std::string &id); SubgameSpec findWorldSubgame(const std::string &world_path); std::set<std::string> getAvailableGameIds(); std::vector<SubgameSpec> getAvailableGames(); bool getWorldExists(const std::string &world_path); std::string getWorldGameId(const std::string &world_path, bool can_be_legacy=false); struct WorldSpec { std::string path; std::string name; std::string gameid; WorldSpec( const std::string &path_="", const std::string &name_="", const std::string &gameid_="" ): path(path_), name(name_), gameid(gameid_) {} bool isValid() const { return (name != "" && path != "" && gameid != ""); } }; std::vector<WorldSpec> getAvailableWorlds(); // loads the subgame's config and creates world directory // and world.mt if they don't exist bool loadGameConfAndInitWorld(const std::string &path, const SubgameSpec &gamespec); #endif