platform/common/scripts/docker_build.sh
火焚 富良 8003611c37
Change shebangs to /usr/bin/env calls for better portability (#5961)
Signed-off-by: Egor Savkin <tomasfire@live.com>
2024-07-01 23:21:52 +07:00

8 lines
144 B
Bash
Executable File

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