1.1.J Generate a BOA image from EBOA and VBOA packages - Daniel-Brosnan-Blazquez/vboa GitHub Wiki
Introduction
This procedure covers the action to generate a BOA image from EBOA and VBOA packages
Note: References to s2boa included for completeness regarding the installation of a tailored BOA.
Pre-conditions
- Ubuntu and docker installed in a development environment. See the following procedures to accomplish this pre-condition:
- EBOA and VBOA packages are available
Procedure
- Build BOA image using EBOA and VBOA packages: Note: Replace PATH_TO_EBOA_AND_VBOA_PACKAGES, EBOA_PACKAGE and VBOA_PACKAGE with the relevant values. The following is an example:
PATH_TO_EBOA_AND_VBOA_PACKAGES=/home/boa/workspace/boa_packages/
EBOA_PACKAGE=eboa-1.0.5.tar.gz
VBOA_PACKAGE=vboa-1.0.6.tar.gz
docker buildx build --build-context boa_packages_directory=<PATH_TO_EBOA_AND_VBOA_PACKAGES> --build-arg EBOA_PACKAGE=<EBOA_PACKAGE> --build-arg VBOA_PACKAGE=<VBOA_PACKAGE> -f Dockerfile.build.boa -t boa:latest .
- Save BOA image:
docker save boa > $TMP_DIR/boa.tar