docker use executing username to avoid root file perms, support absolute paths in repoapi_client
This commit is contained in:
parent
85d4f888ea
commit
f4d72cd201
3 changed files with 2 additions and 7 deletions
|
@ -68,7 +68,7 @@ function AddPackage
|
|||
fi
|
||||
packageUrl=$(grep "sourceUrl" $packageFile | head -n 1 | awk '{print $2}')
|
||||
echo "Adding package to $server [$packageUrl]"
|
||||
curl -i -k "$baseurl/v1/packages" --data @./$packageFile -H "Content-Type: application/json"
|
||||
curl -i -k "$baseurl/v1/packages" --data @$packageFile -H "Content-Type: application/json"
|
||||
BailIf $?
|
||||
echo ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue