From fb0d6278072cf4346966378153664b474d15ab7a Mon Sep 17 00:00:00 2001 From: Saikrishna Edupuganti Date: Fri, 24 Sep 2021 07:25:53 +0000 Subject: [PATCH] Allow override of base image with IMAGE IMAGE="ghcr.io/omec-project/upf-epc/bess_build" \ ./container_build.py shell Signed-off-by: Saikrishna Edupuganti --- container_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container_build.py b/container_build.py index a0b2a8794..d645a4028 100755 --- a/container_build.py +++ b/container_build.py @@ -39,7 +39,7 @@ import re import argparse -IMAGE = 'nefelinetworks/bess_build:' + os.getenv('TAG_SUFFIX', 'latest') +IMAGE = os.getenv('IMAGE', 'nefelinetworks/bess_build') + ':' + os.getenv('TAG_SUFFIX', 'latest') BESS_DIR_HOST = os.path.dirname(os.path.abspath(__file__)) BESS_DIR_CONTAINER = '/build/bess' BUILD_SCRIPT = './build.py'