initial commit
This commit is contained in:
21
docker/scripts/entrypoint.sh
Executable file
21
docker/scripts/entrypoint.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -n "$DEP" ]
|
||||
then
|
||||
if [ "$DEP" = "testing" ]
|
||||
then
|
||||
/scripts/testing.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$REPO" ]
|
||||
then
|
||||
/bin/bash
|
||||
exit $?;
|
||||
fi
|
||||
|
||||
# Clone the git repo
|
||||
git clone "$REPO" /home/user/pkg
|
||||
cd /home/user/pkg
|
||||
makepkg -smf --noconfirm --noprogressbar --skippgpcheck --noarchive
|
||||
exit $?;
|
||||
Reference in New Issue
Block a user