Skip to content

Commit

Permalink
Set grype version to 0.40.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanan-ravi committed Jul 12, 2022
1 parent 5055849 commit 658beb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepfence_console/fetcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ COPY start_fetcher.sh /usr/bin/start_fetcher.sh
COPY grype.yaml /root/.grype.yaml

RUN apk add --no-cache bash curl postgresql-client \
&& curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin \
&& curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin v0.40.1 \
&& /usr/local/bin/grype db update \
&& chmod 755 /usr/local/bin/fetcher-server /usr/bin/start_fetcher.sh \
&& apk del curl \
Expand Down
2 changes: 1 addition & 1 deletion vulnerability_mapper/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY grype.yaml /root/.grype.yaml
COPY entrypoint.sh /entrypoint.sh
RUN apk add --no-cache --update bash curl \
&& apk upgrade \
&& curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin \
&& curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin v0.40.1 \
&& echo "0 */4 * * * /usr/local/bin/grype db update" >> /etc/crontabs/root \
&& chmod +x /entrypoint.sh
EXPOSE 8001
Expand Down

0 comments on commit 658beb4

Please sign in to comment.