Created
July 19, 2019 18:35
-
-
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.
This file contains hidden or 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
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