Project

General

Profile

Feature #1225

Updated by Hammel 2 months ago

pibox-docker is now a separate repo that is a submodule to PiBox repos and to apps that build using the toolchain and staging trees. 

 There are some things to clean up in rundock so it can be used to build apps. 

 * Add -a option for apps.    This will cause the script to run non-interactively. 
 * Add -i option to force interactive mode if -a is set. 
 * Remove maps[]. 
 * Add RUN_ARGS supports 
 * Add GID 
 * Build docker image if it doesn't exist. 
 * Set user= and home= on the docker command line. 
 * Drop Bullseye support and make Bookworm the default. 

 The script should be run like this for apps: 

   docker/rundock ${RUN_ARGS} -- bash -c "make clobber && make" 

 This will allow the mount of the staging tree, which is handled in the Makefile, to be ephemeral. 

 Also: add pibox-rundock to automated backups on colo and add project to Redmine. colo.

Back