Skip to content

Commit

Permalink
print mrenclave value after docker build finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarprudnikov committed Sep 12, 2023
1 parent bbf9eed commit 9974d44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ DOCKER_BUILDKIT=1 docker build \
--build-arg SCITT_VERSION_OVERRIDE="$SCITT_VERSION_OVERRIDE" \
.

echo "MRENCLAVE:"
docker run --rm -it --entrypoint /bin/cat "$DOCKER_TAG" /usr/src/app/mrenclave.txt

if [ -n "$SAVE_IMAGE_PATH" ]; then
docker save "$DOCKER_TAG" -o "$SAVE_IMAGE_PATH"
fi

0 comments on commit 9974d44

Please sign in to comment.