3 Commits

Author SHA1 Message Date
Myy Miouyouyou
89eb1f4c48 docker: softwares: Use volumes instead of directories
When using directories, the docker images will start
generaties files inside these directories, with root
privileges.
These files cannot be removed by the user, even though
he owned the directory.

So I decided to use volumes instead, since this alleviate
the issue.

I'll add a volume management API letter. For the time
being, you'll have to rely on docker-compose volume
commands to manage them.

Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr>
2022-09-16 20:05:40 +02:00
Myy Miouyouyou
53c0f5758b docker: cli: Make sure to use Python3 everytime
Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr>
2022-06-08 21:34:32 +02:00
Myy Miouyouyou
521008152c Starting to see the beginning of an architecture
The first concept is as follows :

* Inside 'modules' lies every module
  * Each 'module' needs to have at least three files
   * 'module.cli' the CLI version of the module
   * 'DESC' the quick description of the module
   * 'armbian/cli/DEPS' the list of Debian dependencies required
     to execute the software
  * Then for GUI, we'll add 'module.gui' and the appropriate
    armbian version with it.

The idea is that, sometimes, mixing GUI and command lines
do not make sense. There are ways to present information in
a GUI, that makes sense for the software itself,
but cannot translate well into command lines, and
vice-versa.

So the whole point (still not completely done) is :
* When invoking a module through the configurator :
  * If there's no arguments to the module, then
    the configurator will check if it can invoke the
    GUI and do it, if possible.
  * Else, if there's command line arguments
    then the CLI version will be selected by default.

A command line argument or an environment variable should
be able to change that default behaviour, in order to
always execute CLI versions or GUI versions.

Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr>
2022-05-21 17:30:04 +02:00