From 7c864359aeb7a3af280bcdbae27577a747d18309 Mon Sep 17 00:00:00 2001 From: Paul Pop Date: Thu, 22 Oct 2020 12:12:26 +0100 Subject: [PATCH] Fix issue with multiple binaries getting returned from tfsec releases (#9) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 006e035..539ea79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ SHELL ["/bin/bash", "-eo", "pipefail", "-c"] RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin/ -RUN wget -O - -q "$(wget -q https://api.github.com/repos/liamg/tfsec/releases/latest -O - | grep -o -E "https://.+?-linux-amd64")" > tfsec \ +RUN wget -O - -q "$(wget -q https://api.github.com/repos/liamg/tfsec/releases/latest -O - | grep -o -E "https://.+?tfsec-linux-amd64")" > tfsec \ && install tfsec /usr/local/bin/ COPY entrypoint.sh /entrypoint.sh