piston/repo/entrypoint.sh

11 lines
174 B
Bash
Raw Normal View History

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"