mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
initial attempt at plugins
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,14 +1,14 @@
|
||||
GITRECEIVE_URL = https://raw.github.com/progrium/gitreceive/master/gitreceive
|
||||
SSHCOMMAND_URL = https://raw.github.com/progrium/sshcommand/master/sshcommand
|
||||
PLUGINHOOK_URL = https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
|
||||
|
||||
all: install
|
||||
|
||||
install: gitreceive sshcommand
|
||||
install: gitreceive sshcommand pluginhook
|
||||
cp dokku /usr/local/bin/dokku
|
||||
cp receiver /home/git/receiver
|
||||
cp nginx-app-conf /home/git/nginx-app-conf
|
||||
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
||||
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
|
||||
cp -r plugins /home/git/.plugins
|
||||
|
||||
gitreceive:
|
||||
wget -qO /usr/local/bin/gitreceive ${GITRECEIVE_URL}
|
||||
@@ -20,5 +20,9 @@ sshcommand:
|
||||
chmod +x /usr/local/bin/sshcommand
|
||||
sshcommand create dokku /usr/local/bin/dokku
|
||||
|
||||
pluginhook:
|
||||
wget -qO ${PLUGINHOOK_URL} /tmp/pluginhook_0.1.0_amd64.deb
|
||||
cd /tmp && dpkg -i pluginhook_0.1.0_amd64.deb
|
||||
|
||||
count:
|
||||
cat receiver dokku bootstrap.sh nginx-app-conf nginx-reloader.conf | wc -l
|
||||
Reference in New Issue
Block a user