-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,39 @@ | ||
FROM amazoncorretto:17-alpine-jdk | ||
FROM amazoncorretto:21-alpine-jdk | ||
|
||
COPY core/target/evomaster.jar . | ||
|
||
#Keep --add-opens in sync with makeExecutable.sh | ||
ENTRYPOINT [ \ | ||
"java", \ | ||
"-Xmx4G", \ | ||
"--add-opens", "java.base/java.net=ALL-UNNAMED", \ | ||
"-jar", "evomaster.jar", \ | ||
"-jar", "evomaster.jar" \ | ||
# see https://www.howtogeek.com/devops/how-to-connect-to-localhost-within-a-docker-container/ | ||
"--sutControllerHost", "host.docker.internal" \ | ||
] | ||
#"--sutControllerHost", "host.docker.internal" \ | ||
] | ||
|
||
|
||
################### | ||
###### NOTES ###### | ||
################### | ||
# Build | ||
# docker build -t webfuzzing/evomaster . | ||
# | ||
# Run | ||
# docker run webfuzzing/evomaster <options> | ||
# | ||
# Example remote BB | ||
# docker run -v "/$(pwd)/generated_tests":/generated_tests webfuzzing/evomaster --blackBox true --bbSwaggerUrl https://api.apis.guru/v2/openapi.yaml --outputFormat JAVA_JUNIT_4 --maxTime 10s --ratePerMinute 60 | ||
# | ||
# Example local BB | ||
# docker run -v "/$(pwd)/generated_tests":/generated_tests webfuzzing/evomaster --blackBox true --bbSwaggerUrl http://host.docker.internal:8080/v3/api-docs --maxTime 5s | ||
# | ||
# TODO WB, and em.yaml, EMConfig param + info logs | ||
# | ||
# Debugging | ||
# docker run -it --entrypoint sh webfuzzing/evomaster | ||
# | ||
# | ||
# | ||
# | ||
# | ||
# | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters