Open fergalcoll opened 5 years ago
@theHackPot Sorry, no I don't. That said, there is a a Dockerfile here which you could modify to accomplish that, but I am not sure how you would run that without a CI tool like Jenkins.
Thanks @InfoSec812, yea I think I will attempt to modify that Dockerfile. We are using Jenkins but not deploying it as per your demo - if that makes sense
When we are trying to build an image from the jenkins-agent-zap, we are getting the below error.
Step 11/13 : RUN curl -sL https://github.com/zaproxy/zaproxy/releases/download/v${ZAPROXY_VERSION}/ZAP_${ZAPROXY_VERSION}_Linux.tar.gz | tar zx --strip-components=1 && curl -sL https://bitbucket.org/meszarv/webswing/get/${WEBSWING_VERSION}.tar.gz | tar zx --strip-components=1 -C webswing && rm -rf webswing/demo && touch AcceptedLicense && git clone --depth 1 --branch v${ZAPROXY_VERSION} https://github.com/zaproxy/zaproxy /tmp/zaproxy && rsync -av /tmp/zaproxy/docker/{policies,scripts,zap*} /zap/ && rsync -av /tmp/zaproxy/docker/policies /var/lib/jenkins/.ZAP/ && rsync -av /tmp/zaproxy/docker/webswing.config /zap/webswing/webswing.config && rm -rf /tmp/zaproxy && touch /.dockerenv && chown root:root /zap -R && chown root:root -R /var/lib/jenkins && chmod 777 /var/lib/jenkins -R && chmod 777 /zap -R ---> Running in 6fac21dfee38
gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now
Because of this error, we got stuck to create an docker image. Quickest reply is helpful for u.
@vijaycs199 Please review to the top of the README which reads "This project is deprecated"
Hi,
Do you have a dockerfile that runs zap baseline in OpenShift without the Jenkins integration?
Thanks