Created
July 31, 2020 07:26
-
-
Save rjnienaber/74564cf98ea8c3133cf967ef36cd2b54 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
docker build -t snyk_test - << END | |
FROM alpine:3.9 | |
RUN apk update | |
RUN apk upgrade | |
RUN apk add jq | |
RUN cat /etc/os-release | grep VERSION && jq --version | |
CMD ["sh"] | |
END | |
echo | |
echo VERSIONS | |
docker run --rm --entrypoint=/bin/cat snyk_test /etc/os-release | |
docker run --rm --entrypoint=/usr/bin/jq snyk_test --version | |
echo | |
snyk test snyk_test --docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment