Browse Source

Updating Ubuntu packages and expanding Docker sections

I expanded the packages suggested for ubuntu/debian to reflect the ones i needed in Docker.
Some might already be installed like the python3-minimal, but that should just ensure that the user machine is not missing any components
I also expanded the Docker build sections to include infos on Installing Docker and a bit more background on how it works.
Udinanon 1 year ago
parent
commit
71e789a0d6
1 changed files with 18 additions and 4 deletions
  1. 18 4
      guides/Compiling.md

+ 18 - 4
guides/Compiling.md

@@ -79,11 +79,20 @@ using one of those builds.
 Linux
 Linux
 ---
 ---
 
 
+### Using Docker
+
+If you prefer you can build the application using a Docker image that contains the required packages and components. You can write your code on your host machine, and the container will be used only to build the application.
+
+To use it, you'll need to [install Docker](https://docs.docker.com/engine/install/).
+
+Afterwards, the relevant files and scripts can be found at the [lovr-docker-builder](https://github.com/Udinanon/lovr-docker-builder) project.
+
+
 First, install a C compiler, CMake, and other dependencies:
 First, install a C compiler, CMake, and other dependencies:
 
 
 ### Debian/Ubuntu
 ### Debian/Ubuntu
 
 
-    $ sudo apt install cmake clang xorg-dev libcurl-dev
+    $ sudo apt install cmake clang xorg-dev build-essential libcurl4-openssl-dev libxcb-glx0-dev libx11-xcb-dev glslang-tools python3-minimal
 
 
 ### Fedora
 ### Fedora
 
 
@@ -113,10 +122,15 @@ the command:
 Android
 Android
 ---
 ---
 
 
-To compile an Android APK with CMake, follow the steps below.
+### Using Docker
+
+If you prefer you can build the application using a Docker image that contains the required packages and components. You can write your code on your host machine, and the container will be used only to build the application.
+
+To use it, you'll need to [install Docker](https://docs.docker.com/engine/install/).
 
 
-There is also a [lovr-docker-builder](https://github.com/Udinanon/lovr-docker-builder) project
-that builds the APK in a Docker container, automating most of the process.
+Afterwards, the relevant files and scripts can be found at the [lovr-docker-builder](https://github.com/Udinanon/lovr-docker-builder) project.
+
+To compile an Android APK with CMake, follow the steps below.
 
 
 ### Setup
 ### Setup