# Copyright (c) 2021 Microchip Technology Inc. and its subsidiaries.
# SPDX-License-Identifier: MIT

MCHP_DOCKER_NAME=$(jq -r '.[] | select(.id == "build-tfa") | .name' .deps.json)
MCHP_DOCKER_TAG=$(jq -r '.[] | select(.id == "build-tfa") | .tag' .deps.json)
MCHP_DOCKER_DIGEST=$(jq -r '.[] | select(.id == "build-tfa") | .sha' .deps.json)

# Mount /tmp as tmpfs
# Add current username and uid in environment
MCHP_DOCKER_OPTIONS="--tmpfs /tmp:exec -e BLD_USER=$(id -un) -e BLD_UID=$(id -u)"
