Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6f332105
Unverified
Commit
6f332105
authored
Apr 13, 2022
by
Michal Rostecki
Committed by
GitHub
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update trivy to 0.25.3 (#5425)
Signed-off-by:
Dirk Müller
<
dirk@dmllr.de
>
Signed-off-by:
Michal Rostecki
<
vadorovsky@gmail.com
>
parent
4eb3a488
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Dockerfile.dapper
Dockerfile.dapper
+6
-6
No files found.
Dockerfile.dapper
View file @
6f332105
...
...
@@ -13,16 +13,16 @@ RUN apk -U --no-cache add bash git gcc musl-dev docker vim less file curl wget c
libseccomp-static make libuv-static sqlite-dev sqlite-static libselinux libselinux-dev zlib-dev zlib-static \
zstd gzip alpine-sdk binutils-gold gawk
RUN if [ "$(go env GOARCH)" = "arm64" ]; then \
wget https://github.com/aquasecurity/trivy/releases/download/v0.
16.0/trivy_0.16.0
_Linux-ARM64.tar.gz && \
tar -zxvf trivy_0.
16.0
_Linux-ARM64.tar.gz && \
wget https://github.com/aquasecurity/trivy/releases/download/v0.
25.3/trivy_0.25.3
_Linux-ARM64.tar.gz && \
tar -zxvf trivy_0.
25.3
_Linux-ARM64.tar.gz && \
mv trivy /usr/local/bin; \
elif [ "$(go env GOARCH)" = "arm" ]; then \
wget https://github.com/aquasecurity/trivy/releases/download/v0.
16.0/trivy_0.16.0
_Linux-ARM.tar.gz && \
tar -zxvf trivy_0.
16.0
_Linux-ARM.tar.gz && \
wget https://github.com/aquasecurity/trivy/releases/download/v0.
25.3/trivy_0.25.3
_Linux-ARM.tar.gz && \
tar -zxvf trivy_0.
25.3
_Linux-ARM.tar.gz && \
mv trivy /usr/local/bin; \
else \
wget https://github.com/aquasecurity/trivy/releases/download/v0.
16.0/trivy_0.16.0
_Linux-64bit.tar.gz && \
tar -zxvf trivy_0.
16.0
_Linux-64bit.tar.gz && \
wget https://github.com/aquasecurity/trivy/releases/download/v0.
25.3/trivy_0.25.3
_Linux-64bit.tar.gz && \
tar -zxvf trivy_0.
25.3
_Linux-64bit.tar.gz && \
mv trivy /usr/local/bin; \
fi
# this works for both go 1.15 and 1.16
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment