Skip to content

Commit

Permalink
Add --no-cache option to sqft Docker build process
Browse files Browse the repository at this point in the history
Co-authored-by: J. Pablo Muñoz <[email protected]>
Signed-off-by: Yuan0320 <[email protected]>
  • Loading branch information
Yuan0320 and jpablomch committed Dec 3, 2024
1 parent 24ec2a7 commit 812aa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/finetuning/test_finetuning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function build_sqft_docker_images() {
cd $WORKPATH
echo $(pwd)
curl -o comps/finetuning/Dockerfile.sqft https://raw.githubusercontent.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/main/SQFT/opea/Dockerfile
docker build -t opea/finetuning:comps --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy --build-arg HF_TOKEN=$HF_TOKEN -f comps/finetuning/Dockerfile.sqft .
docker build --no-cache -t opea/finetuning:comps --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy --build-arg HF_TOKEN=$HF_TOKEN -f comps/finetuning/Dockerfile.sqft .
if [ $? -ne 0 ]; then
echo "opea/finetuning (sqft) built fail"
exit 1
Expand Down

0 comments on commit 812aa4a

Please sign in to comment.