Dockerfile: Update runner base to alpine 3.10 (#199)

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
Manuel Rüger
2019-10-22 10:35:05 +02:00
committed by Teppei Fukuda
parent ff873a274b
commit 5ae10e0463

View File

@@ -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