Skip to content

Commit

Permalink
Fix issue with multiple binaries getting returned from tfsec releases (
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-pop authored Oct 22, 2020
1 parent ab729a9 commit 7c86435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c86435

Please sign in to comment.