Permalink
Browse files

Docker image accepts stdin for tests

  • Loading branch information...
mcameron committed Nov 16, 2017
1 parent 229f6fd commit 1f01e9c97c59323f8925c22ba398dbe09b91d4c7
Showing with 3 additions and 6 deletions.
  1. +3 −6 README.md
View
@@ -23,10 +23,9 @@ Smolder aims to solve these problems by providing features such as:
Example
=======
Copy/paste the following into a bash shell:
Copy/paste the following into your shell:
```
cat <<EOF > github_status.yaml
---
echo "---
tests:
-
name: "Github Status"
@@ -49,9 +48,7 @@ tests:
port: 443
protocol: https
uri: /api/status.json
EOF
docker run -v $(pwd)/github_status.yaml:/tmp/smolder.yaml \
mcameron/smolder status.github.com /tmp/smolder.yaml
" | docker run -i mcameron/smolder status.github.com
```
Expected Output:

0 comments on commit 1f01e9c

Please sign in to comment.