Skip to content

Commit

Permalink
Allow override of base image with IMAGE
Browse files Browse the repository at this point in the history
IMAGE="ghcr.io/omec-project/upf-epc/bess_build" \
./container_build.py shell

Signed-off-by: Saikrishna Edupuganti <[email protected]>
  • Loading branch information
krsna1729 committed Sep 24, 2021
1 parent a3c85bf commit fb0d627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit fb0d627

Please sign in to comment.