Skip to content

Commit fb0d627

Browse files
committed
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 <saikrishna.edupuganti@intel.com>
1 parent a3c85bf commit fb0d627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import re
4040
import argparse
4141

42-
IMAGE = 'nefelinetworks/bess_build:' + os.getenv('TAG_SUFFIX', 'latest')
42+
IMAGE = os.getenv('IMAGE', 'nefelinetworks/bess_build') + ':' + os.getenv('TAG_SUFFIX', 'latest')
4343
BESS_DIR_HOST = os.path.dirname(os.path.abspath(__file__))
4444
BESS_DIR_CONTAINER = '/build/bess'
4545
BUILD_SCRIPT = './build.py'

0 commit comments

Comments
 (0)