1.1.7 Generate BOA packages - Daniel-Brosnan-Blazquez/vboa GitHub Wiki
Introduction
This procedure covers the action to generate the BOA packages for including them into a BOA image.
Note: References to s2boa included for completeness regarding the installation of a tailored BOA.
Pre-conditions
-
Procedure:
Install BOA in development mode from scratch has been successfully executed.
Procedure
- Change user to root:
sudo su -
- Make sure git can obtain the revision IDs from user root:
git config --global --add safe.directory '*'
-
Export path to resources:
Note: this path is where the repositories for eboa, vboa and the tailored BOA are located.
export PATH_TO_REPOSITORIES=PATH_TO_REPOSITORIES
-
Export path to leave generated packages:
Note: this path is where the packages for eboa, vboa and the tailored BOA will be generated.
export PATH_TO_PACKAGES=PATH_TO_PACKAGES
-
Generate the BOA packages:
Note: replace s2boa references by the relevant names of the tailored BOA
$PATH_TO_REPOSITORIES/vboa/generate_boa_packages.sh -e $PATH_TO_REPOSITORIES/eboa/ -v $PATH_TO_REPOSITORIES/vboa/ -t $PATH_TO_REPOSITORIES/s2boa/ -d $PATH_TO_REPOSITORIES/vboa/Dockerfile.pkg -o $PATH_TO_PACKAGES -a s2boa
Once it is finished, you will see an output like the following containing the path to the docker image:
BOA packages generated in: /tmp
Removing temporal docker environment boa_app