cubefs/docker/build_docker.sh
slasher fc431f6360 chore(ci): remove ltp in docker if no ltptest
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-28 17:13:05 +08:00

10 lines
307 B
Bash
Executable File

#!/usr/bin/env bash
# shellcheck disable=SC2046
RootPath=$(cd $(dirname "$0") || exit 1; pwd)
# shellcheck source=/dev/null
source "${RootPath}/run_docker.env"
docker build -t "${IMAGE}" -f "${RootPath}/Dockerfile" "${RootPath}"
docker build -t "${IMAGELTP}" -f "${RootPath}/Dockerfile-ltp" "${RootPath}"