1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

Add scripts

This commit is contained in:
Alexander Serkin 2016-01-25 13:16:08 +03:00
parent db5981bf98
commit 8971c90396
3 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,8 @@ echo 'hello world'
```
$ cd ~/fig/webhook/
$ chmod +x scripts/test.sh
$ docker-compose up -d
Creating webhook_webhook_1...

View File

@ -0,0 +1,7 @@
[
{
"id": "test",
"execute-command": "/scripts/test.sh",
"command-working-directory": "/scripts"
}
]

3
webhook/scripts/test.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
echo 'hello world'