Skip to content

Instantly share code, notes, and snippets.

@vsoch
Created July 19, 2019 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsoch/af833cd628a5e3f2e4f59b676fe687cf to your computer and use it in GitHub Desktop.
Save vsoch/af833cd628a5e3f2e4f59b676fe687cf to your computer and use it in GitHub Desktop.
An example Dockerfile using MicroSecurity scanner from AquaSec. You need to first get a token, and replace variables in the file.
FROM YOURCONTAINERHERE
# docker run --rm -it aquasec/microscanner --register <email address>
# docker build -t dirty-container .
RUN apk add --no-cache ca-certificates && update-ca-certificates
ADD https://get.aquasec.com/microscanner .
RUN chmod +x microscanner
RUN ./microscanner YOURTOKENHERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment