#!/bin/bash
set -e

docker run --rm --entrypoint /bin/bash -v $PWD/sgx-native:/app/src gramineproject/gramine:v1.3.1 /app/src/docker_build.sh
if [ $? -eq 0 ]; then
    echo -e '\033[0;32mBUILD SUCCESS'
else
    echo -e '\033[0;31mBUILD FAILED'
fi
