From 3475acbebbc29928e5264faba43d347b622a8a15 Mon Sep 17 00:00:00 2001 From: Cesar Rodriguez Date: Mon, 17 Aug 2020 22:25:36 -0400 Subject: [PATCH] adds terrascan from docker --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index a7cead71..7ef0d2e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ FROM golangci/golangci-lint:v1.30.0 as golangci-lint FROM yoheimuta/protolint:v0.26.0 as protolint FROM koalaman/shellcheck:v0.7.1 as shellcheck FROM wata727/tflint:0.19.1 as tflint +FROM accurics/terrascan:latest as terrascan FROM hadolint/hadolint:latest-alpine as dockerfile-lint FROM assignuser/lintr-lib:v0.1.0 as lintr-lib FROM assignuser/chktex-alpine:v0.1.0 as chktex @@ -166,6 +167,12 @@ COPY --from=golangci-lint /usr/bin/golangci-lint /usr/bin/ ################## COPY --from=tflint /usr/local/bin/tflint /usr/bin/ +################## +# Install Terrascan # +################## +COPY --from=terrascan /go/bin/terrascan /usr/bin/ + + ###################### # Install protolint # ######################