#!/bin/bash
# Build CoreMark-PRO benchmark Docker image

IMAGE_NAME="coremark_pro_rdk_arm"
IMAGE_TAG="${1:-latest}"

echo "Building CoreMark-PRO benchmark image..."
echo "Image: ${IMAGE_NAME}:${IMAGE_TAG}"
echo ""

docker build -t ${IMAGE_NAME}:${IMAGE_TAG} -f Dockerfile .

echo ""
echo "Build complete: ${IMAGE_NAME}:${IMAGE_TAG}"
