-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Dockerfile, added Jenkinsfile. #16523
base: master
Are you sure you want to change the base?
Conversation
…moved deprecated directives, and now successfully builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this great PR, the dockerfile needed some maintenance 👍
Some of my comments went inline with the code, some other comments here:
-
Jenkinsfile
: w3af uses circleci for builds (see circle.yml in root directory). When a build succeeds then a new docker image is build and pushed. Builds haven't been passing for some time now... that it why we don't get fresh docker images in hub.docker.com. Please remove this file since we won't use it: adding another build system doesn't make much sense. -
Please send the PR against the
develop
branch which has significant improvements frommaster
and, for example, a different set of pip requirements.
@@ -0,0 +1,92 @@ | |||
# w3af.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that we can safely remove this file, we don't really need the backup.
@@ -25,7 +25,7 @@ | |||
GUI = 2 | |||
|
|||
|
|||
CORE_PIP_PACKAGES = [PIPDependency('pyclamd', 'pyClamd', '0.3.15'), | |||
CORE_PIP_PACKAGES = [PIPDependency('pyclamd', 'pyClamd', '0.4.0'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just upgraded develop
to use this lib version
@@ -36,7 +36,7 @@ | |||
PIPDependency('tblib', 'tblib', '0.2.0'), | |||
PIPDependency('pdfminer', 'pdfminer', '20140328'), | |||
PIPDependency('concurrent.futures', 'futures', '2.1.5'), | |||
PIPDependency('OpenSSL', 'pyOpenSSL', '0.15.1'), | |||
PIPDependency('OpenSSL', 'pyOpenSSL', '16.2.0'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The develop branch already uses a newer version
An updated Dockerfile is important so that anyone can build and run W3AF anywhere. Along with being able to build it, it is useful to be able to build this image with CI so that the most up to date version can be easily and automatically maintained.
This pull request contains: