Skip to content

Commit 7046d2b

Browse files
committed
Add app-emissary-override Dockerfile for cloud env
1 parent 5f0a91c commit 7046d2b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

app-emissary-override/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (C) 2017-2022 BinaryMist Limited. All rights reserved.
2+
3+
# Use of this software is governed by the Business Source License
4+
# included in the file /licenses/bsl.md
5+
6+
# As of the Change Date specified in that file, in accordance with
7+
# the Business Source License, use of this software will be governed
8+
# by the Apache License, Version 2.0
9+
10+
# This file is only used in cloud env.
11+
12+
FROM owasp/zap2docker-stable:s2021-12-16
13+
14+
ARG PT_GROUP_ID
15+
16+
USER root
17+
RUN addgroup --system --gid ${PT_GROUP_ID} purpleteam && adduser zap purpleteam
18+
USER zap
19+

app-emissary/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ ZAP_DIR_APP_SCANNER_MOUNT_TARGET=/mnt/purpleteam-app-scanner
88
# Used to enable App Emissary debugging
99
HOST_ZAP_LOG4J_PROPERTIES_PATH=<absolute-path-to/purpleteam-s2-containers/app-emissary/log4j2.properties>
1010
ZAP_LOG4J_PROPERTIES_PATH_MOUNT_TARGET=/home/zap/.ZAP/log4j2.properties
11+

0 commit comments

Comments
 (0)