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

  1. Procedure:

    Install BOA in development mode from scratch has been successfully executed.

Procedure

  1. Change user to root:
sudo su -
  1. Make sure git can obtain the revision IDs from user root:
git config --global --add safe.directory '*'
  1. 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
  1. 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
  1. 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