24 lines
640 B
Bash
24 lines
640 B
Bash
#!/bin/sh
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2023 Intel Corporation
|
|
|
|
# The last argument to this script is the full image name/tag
|
|
# we should generate, such as starlingx/uft:master-debian-TIMESTAMP
|
|
IMAGE_TAG="$1"
|
|
DPDK_TAG="v22.07"
|
|
|
|
echo "=============== build script ================"
|
|
echo "image: uft"
|
|
echo "image_tag: $IMAGE_TAG"
|
|
echo "DPDK_TAG=$DPDK_TAG"
|
|
|
|
docker build -t "$IMAGE_TAG" -f images/Dockerfile.uft . \
|
|
--build-arg http_proxy="$http_proxy" \
|
|
--build-arg https_proxy="$https_proxy" \
|
|
--build-arg DPDK_TAG="$DPDK_TAG" \
|
|
--build-arg UFT_INSTALL_PATH=/usr/local/lib64 \
|
|
|| exit 1
|
|
|
|
exit 0
|