mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-12-02 01:40:33 +00:00
chore(deps): upgrade apk packages in container images (#11712)
This commit is contained in:
1 parent
427c319c4a
commit
55a813c3c5
2 files changed
+6
-2
No files matched your search
+3
-1
@@ -1,5 +1,7 @@
|
||||
FROM alpine:3.24.3
|
||||
RUN apk --no-cache add ca-certificates git
|
||||
# The Alpine base image tag lags behind security fixes in its repository,
|
||||
# so upgrade preinstalled packages to the latest patched versions.
|
||||
RUN apk --no-cache upgrade && apk --no-cache add ca-certificates git
|
||||
ARG TARGETPLATFORM
|
||||
COPY ${TARGETPLATFORM}/trivy /usr/local/bin/trivy
|
||||
COPY contrib/*.tpl contrib/
|
||||
|
||||
+3
-1
@@ -1,5 +1,7 @@
|
||||
FROM alpine:3.24.3
|
||||
RUN apk --no-cache add ca-certificates git
|
||||
# The Alpine base image tag lags behind security fixes in its repository,
|
||||
# so upgrade preinstalled packages to the latest patched versions.
|
||||
RUN apk --no-cache upgrade && apk --no-cache add ca-certificates git
|
||||
|
||||
# binaries were created with GoReleaser
|
||||
# need to copy binaries from folder with correct architecture
|
||||
|
||||
Reference in new issue
Block a user