From a1d9eaa4f26a0346fff126384685fe8652cd4eed Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 21 Apr 2018 13:54:02 +0300 Subject: [PATCH] Small Docker update --- docs/Developer-Guide_Building-with-Docker.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/Developer-Guide_Building-with-Docker.md b/docs/Developer-Guide_Building-with-Docker.md index 130bb958..4c660f38 100644 --- a/docs/Developer-Guide_Building-with-Docker.md +++ b/docs/Developer-Guide_Building-with-Docker.md @@ -1,6 +1,7 @@ # Officially supported and tested method for building with Docker This method works for building u-boot and kernel packages as well as building full OS images. + Building additional packages (`EXTERNAL_NEW`) is not supported. ## Requirements @@ -12,9 +13,18 @@ Building additional packages (`EXTERNAL_NEW`) is not supported. ## Details -Build process should be started by running `./compile.sh docker` on the host. -The proces will create and run a Docker container with 2 named volumes `armbian-cache` and `armbian-ccache` and mount local diretories `output` and `userpatches`. -Additional command line arguments can be passed to `compile.sh` after `docker` like this: `./compile.sh docker KERNEL_ONLY=yes BOARD=cubietruck BRANCH=next KERNEL_CONFIGURE=yes`. +Build process should be started by running + + ./compile.sh docker + +on the host. + +The proces will create and run a named Docker container `armbian` with 2 named volumes `armbian-cache` and `armbian-ccache` and mount local diretories `output` and `userpatches`. + +Additional command line arguments can be passed to `compile.sh` after `docker` like this: + + ./compile.sh docker KERNEL_ONLY=yes BOARD=cubietruck BRANCH=next KERNEL_CONFIGURE=yes + A configuration file named `config-docker-guest.conf` can be created to set default values for build options. Passing a custom config file name is currently not implemented.