Skip to content

Conversation

@ravisinghkr
Copy link

@ravisinghkr ravisinghkr commented Feb 19, 2024

On a project we are using Snyk for code scanning. Moving the installation here so that we dont have to install it separately in the pipeline

&& chmod +x /usr/bin/kustomize

# Install Snyk
RUN curl -L "https://github.com/snyk/cli/releases/download/${SNYK_VERSION}/snyk-linux" -o /tmp/snyk-linux \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Ravi, we'll need to detect if we're on ARM and use the ARM binary for that
image

&& chmod +x /usr/local/bin/snyk

# Install Snyk-to-Html
RUN curl -L "https://github.com/snyk/snyk-to-html/releases/download/${SNYK_TO_HTML_VERSION}/snyk-to-html-linux" -o /tmp/snyk-to-html-linux \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar here I suppose

@ElvenSpellmaker
Copy link
Contributor

Hey @ravisinghkr, is this PR still needed? If so we have a new image structure and it'd need to be done there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants