From 915b779f0314c25c22ab201de99928577c27bdaf Mon Sep 17 00:00:00 2001 From: luke-sparks <49217947+luke-sparks@users.noreply.github.com> Date: Wed, 25 May 2022 10:32:18 -0700 Subject: [PATCH] Update Docker.md with buildkit and submodule notes. (#458) * Update Docker.md Add link to enabling docker buildkit. Add note to remember to clone submodules. * Remove unpacked client option Unpacked client does not have required directories/files (e.g. /versions/trunk.txt) and thus the packed client is required. * Add note about renaming CDClient.fdb DarkflameSetup will fail because it cannot find cdclient.fdb. However, CDClient.fdb exists. Renaming it fixes the issue. * Remove extra "client" --- Docker.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Docker.md b/Docker.md index ba52c39..7d5f7bc 100644 --- a/Docker.md +++ b/Docker.md @@ -4,7 +4,7 @@ - [Docker](https://docs.docker.com/get-docker/) (Docker Desktop or on Linux normal Docker) - [Docker Compose](https://docs.docker.com/compose/install/) (Included in Docker Desktop) -- LEGO® Universe Client (packed or unpacked). Check the main [README](./README.md) for details on this. +- LEGO® Universe packed Client. Check the main [README](./README.md) for details on this. ## Run server inside Docker @@ -21,6 +21,15 @@ **NOTE #2**: To stop the server simply run `docker compose down` and to restart it just run `docker compose up -d` again. No need to run all the steps above every time. +**NOTE #3**: Docker buildkit needs to be enabled. https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds + +**NOTE #4**: Make sure to run the following in the repo root directory after cloning so submodules are also downloaded. +``` +git submodule init +git submodule update +``` +**NOTE #5**: If DarkflameSetup fails due to not having cdclient.fdb, rename CDClient.fdb (in the same folder) to cdclient.fdb + ## Disable brickbuildfix If you don't need the http server running on port 80 do this: