diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2018-07-23 01:56:42 +0300 |
---|---|---|
committer | Oleg Morozenkov <m@oleg.rocks> | 2018-07-23 01:56:42 +0300 |
commit | d47ee877be5d1175bdc36f2d87881ddaf875a8e9 (patch) | |
tree | 7fd20cdc1236fe6b832ae980de12afd7071ebab9 /tools/docker-run-sample | |
parent | cea20d4078f2088dea0dd589f1cc9dd7ee22461b (diff) |
Refactor http clients, fix webhook server, add more samples, change tabs to 4 spaces
Diffstat (limited to 'tools/docker-run-sample')
-rwxr-xr-x | tools/docker-run-sample | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/docker-run-sample b/tools/docker-run-sample new file mode 100755 index 0000000..e7ac6ba --- /dev/null +++ b/tools/docker-run-sample @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +cd .. +docker build -t reo7sp/tgbot-cpp -f Dockerfile_test . +docker run --rm -it -e TOKEN=$2 reo7sp/tgbot-cpp /usr/src/tgbot-cpp/samples/$1/$1 |