Skip to content

Commit

Permalink
chore: update download script location (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-luong authored Jul 25, 2024
1 parent f6f4413 commit 1694f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ENV SNYK_CLI_VERSION=$CLI_VERSION
RUN echo "SNYK_CLI_VERSION=${SNYK_CLI_VERSION}"

RUN apt-get update && apt-get install -y curl python3 python3-requests
RUN curl --compressed --output /usr/local/bin/install-snyk.py https://raw.githubusercontent.com/snyk/cli/master/scripts/install-snyk.py
RUN curl --compressed --output /usr/local/bin/install-snyk.py https://raw.githubusercontent.com/snyk/cli/main/scripts/install-snyk.py
RUN chmod +x /usr/local/bin/install-snyk.py
RUN install-snyk.py $SNYK_CLI_VERSION

Expand All @@ -30,7 +30,7 @@ ENV SNYK_CLI_VERSION=$CLI_VERSION
RUN echo "SNYK_CLI_VERSION=${SNYK_CLI_VERSION}"

RUN apk update && apk add --no-cache git curl python3 py3-requests
RUN curl --compressed --output /usr/local/bin/install-snyk.py https://raw.githubusercontent.com/snyk/cli/master/scripts/install-snyk.py
RUN curl --compressed --output /usr/local/bin/install-snyk.py https://raw.githubusercontent.com/snyk/cli/main/scripts/install-snyk.py
RUN chmod +x /usr/local/bin/install-snyk.py
RUN install-snyk.py $SNYK_CLI_VERSION

Expand Down

0 comments on commit 1694f14

Please sign in to comment.