piston/repo/entrypoint.sh

12 lines
224 B
Bash
Raw Normal View History

cd /packages
for pkg in "$@"
do
2021-03-05 10:16:42 +01:00
make -j16 $pkg.pkg.tar.gz
done
cd /repo
./mkindex.sh
curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml" || echo "WARNING: Could not add repository"