Skip to content

Commit

Permalink
Adding some scaffolding and non-functional POC.
Browse files Browse the repository at this point in the history
  • Loading branch information
grugnog committed Oct 10, 2019
1 parent 5e690e6 commit 7e2067c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM owasp/zap2docker-stable:latest

# Copy in default tests
COPY tests /zap/wrk

CMD ["zap-baseline.py", "-d", "-r", "zap.html", "-t", "http://web"]
12 changes: 12 additions & 0 deletions docker-compose.test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3"

# Base image test, used by Docker Hub.
services:
web:
image: drydockcloud/tools-ci-web:latest

sut:
build: .
command: autotest
depends_on:
- web
11 changes: 11 additions & 0 deletions docker-compose.zap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3"

services:
# Example docker-compose service for zap:
zap:
image: drydockcloud/ci-zap:latest
command: autotest
depends_on:
- web
volumes:
- ./results:/results

0 comments on commit 7e2067c

Please sign in to comment.