Closed rpl-ffl closed 4 days ago
some test hard code image to
sonic:latest
, the current build uses the branch name as identifier so it'ssonic:main
. This must be reconciled.
Done
Converted to draft as discussed. Current status: PR works, but without buildkit when building docker image. This results in ~10 minutes each time a docker image is built. This should be solved before merging into main.
Usage:
build/norma image build -c main
to create sonic image using main branchbuild/norma image build -c <hash>
to create sonic image using commit hashbuild/norma image build -s <scenario-file>
to create all sonic images referenced within the scenario file. Default version is mainbuild/norma image purge <-f>
to purgebuild/norma image ls
to list all sonic images built currentlyThis prototype helps to facilitate scenarios where multiple client version is simulated concurrently.