platform/common/scripts/docker_build.sh
Andrey Sobolev c9b4fa16fd
Add DOCKER_EXTRA env to docker_build.sh (#5204)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-04-05 13:39:54 +07:00

8 lines
136 B
Bash
Executable File

#!/bin/bash
version=$(git rev-parse HEAD)
echo "Building version: $version"
docker build -t "$1" -t "$1:$version" ${DOCKER_EXTRA} .