mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-01-31 13:53:14 +08:00
Dockerfile: Update runner base to alpine 3.10 (#199)
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
committed by
Teppei Fukuda
parent
ff873a274b
commit
5ae10e0463
@@ -8,7 +8,7 @@ COPY . /app/
|
||||
RUN go build -ldflags "-X main.version=$(git describe --tags --abbrev=0)" -a -o /trivy cmd/trivy/main.go
|
||||
RUN upx --lzma --best /trivy
|
||||
|
||||
FROM alpine:3.9
|
||||
FROM alpine:3.10
|
||||
RUN apk --no-cache add ca-certificates git rpm
|
||||
COPY --from=builder /trivy /usr/local/bin/trivy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user