Move sources directory and introduce additional build context

This commit is contained in:
Alexey Pustovalov
2024-12-24 20:53:06 +09:00
parent 9161d3b1dd
commit b0f7df6f69
36 changed files with 54 additions and 15 deletions

View File

@ -42,7 +42,7 @@ else
exit 1
fi
DOCKER_BUILDKIT=1 $exec_command build -t "zabbix-$app_component:$os-$version" --build-arg VCS_REF="$VCS_REF" --build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" -f Dockerfile .
DOCKER_BUILDKIT=1 $exec_command build -t "zabbix-$app_component:$os-$version" --build-context sources="../../../sources" --build-arg VCS_REF="$VCS_REF" --build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" -f Dockerfile .
if [ "$type" != "build" ]; then
links=""