Closed patrocinio closed 4 years ago
Same is happening to me:
2020-05-23 20:41:31.846 INFO Contacting CyberCenter... {"registry": "", "image": ""}
2020-05-23 20:41:33.430 INFO CyberCenter connection established {"registry": "", "image": "", "api_version": "4"}
2020-05-23 20:41:37.014 INFO Processing results... {"registry": "", "image": ""}
ERROR: scan failed: CyberCenter returned error: failed scanning: failed reading error response: failed decompressing response: snappy: corrupt input
@patrocinio @jonassteinberg1
Can you check again? It's hard to identify the issue without the image.
I tried a NodeJS image with sample project and it seems to work. Here is my Dockerfile
FROM node:latest RUN mkdir -p /usr/src/app WORKDIR /usr/src/app RUN git clone https://github.com/contentful/the-example-app.nodejs.git WORKDIR /usr/src/app/the-example-app.nodejs RUN npm install
ARG acquaToken ADD https://get.aquasec.com/microscanner . RUN chmod +x microscanner RUN ./microscanner $acquaToken
Hello @jerbia Thanks for validation.
I ran my Dockerfile and yours, and both worked fine.
Closing the issue.
Thanks for your assistance!
I have an OpenShift 4.3 environment, and I am using BuildConfig and the following Dockerfile:
However, the build is failing with the following error:
Any idea on what I can do to fix this error?