eclair-tf-m: Image for TF-M ECLAIR analysis
A copy of eclair-linaro with base image adjusted.
eclair-tf-m: Copy ECLAIR binary from eclair-linaro job
Where it's being put by tuxput bucket already. Apparently, doesn't make
to duplicate it on the bucket level, better to make such a copy.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ic38294a65229a5456fae5a3f3aea38de8e6edcd9
diff --git a/eclair-tf-m/build.sh b/eclair-tf-m/build.sh
new file mode 100755
index 0000000..55e2726
--- /dev/null
+++ b/eclair-tf-m/build.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+export LANG=C
+
+tag=$(basename $PWD)
+
+[ -z $ECR ] && echo "Error: ECR environment variable not set" && exit 1
+
+cp ../eclair-linaro/ECLAIR_3.12.0-MC23P1-l64P_Setup.run .
+
+image=${ECR}/misra:$tag
+docker build --pull --tag=$image .
+echo $image > .docker-tag