1 Star 0 Fork 5

TESLA/Trivy

forked from Gitee 极速下载/Trivy 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 378 Bytes
一键复制 编辑 原始数据 按行查看 历史
Masahiro 提交于 2019-05-19 08:54 +08:00 . Change Dockerfile (#28)
FROM golang:1.12-alpine AS builder
ADD go.mod go.sum /app/
WORKDIR /app/
RUN apk --no-cache add git
RUN go mod download
ADD . /app/
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o /trivy cmd/trivy/main.go
FROM alpine:3.9
RUN apk --no-cache add ca-certificates git
COPY --from=builder /trivy /usr/local/bin/trivy
RUN chmod +x /usr/local/bin/trivy
ENTRYPOINT ["trivy"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/andy_f/Trivy.git
git@gitee.com:andy_f/Trivy.git
andy_f
Trivy
Trivy
master

搜索帮助