image-oci-umoci: add convenience symlink to latest image

Symlink the date-time based image name, to just the imagename-oci.

This makes scripting use of the deployed container much simpler.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2022-09-12 16:21:31 -04:00
parent c5ed5aa1e5
commit 4254c4a732

View File

@ -112,4 +112,6 @@ IMAGE_CMD:oci() {
# We could make this optional, since the bundle is directly runnable via runc
rm -rf $image_bundle_name
ln -sf $image_name ${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci
}