diff --git a/Dockerfile b/Dockerfile index 8bec53a..0851dd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,6 @@ COPY --from=builder /app/build/goscan /goscan COPY ./entrypoint.sh /entrypoint.sh RUN chmod +x /goscan && chmod +x /entrypoint.sh -RUN curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b /usr/local/bin - ENV PATH="/usr/local/go/bin:${PATH}" ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index f0789c7..98fc9ab 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ #!/bin/sh +curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b /usr/local/bin /goscan --is-action -cat output.sarif \ No newline at end of file