piston/repo/entrypoint.sh
2021-02-28 22:18:27 +13:00

10 lines
218 B
Bash
Executable file

cd /packages
for pkg in "$*"
do
make -j16 build-$pkg
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"