File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # vim:ts=4:sts=4:sw=4:et
3
+ #
4
+ # Author: Hari Sekhon
5
+ # Date: 2016-12-08 14:38:37 +0000 (Thu, 08 Dec 2016)
6
+ #
7
+ # https://github.com/harisekhon/nagios-plugins
8
+ #
9
+ # License: see accompanying Hari Sekhon LICENSE file
10
+ #
11
+ # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
12
+ #
13
+ # https://www.linkedin.com/in/harisekhon
14
+ #
15
+
16
+ set -euo pipefail
17
+ [ -n " ${DEBUG:- } " ] && set -x
18
+ srcdir=" $( cd " $( dirname " $0 " ) " && pwd) "
19
+
20
+ cd " $srcdir /.."
21
+
22
+ . " bash-tools/docker.sh"
23
+
24
+ section " Docker Image"
25
+
26
+ export DOCKER_IMAGE=" harisekhon/pytools"
27
+
28
+ if is_docker_available; then
29
+ docker pull " $DOCKER_IMAGE "
30
+ # docker run "$DOCKER_IMAGE" welcome.py
31
+ docker run " $DOCKER_IMAGE " tests/all.sh
32
+ fi
You can’t perform that action at this time.
0 commit comments