2 Star 0 Fork 0

mirrors_DataDog/draino

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 688 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dan 提交于 2022-11-15 01:48 +08:00 . Update Alpine Version to Avoid CVE-2022-37434
# This dockerfile is used for testing, at release time, compute delivery uses its own Dockerfile
#FROM golang:1.13.15-alpine3.11 AS build
#
#RUN apk update && apk add git && apk add curl
#
#WORKDIR /go/src/github.com/planetlabs/draino
#COPY . .
#
#RUN go build -o /draino ./cmd/draino
#
#FROM alpine:3.11
#
#RUN apk update && apk add ca-certificates
#RUN addgroup -S user && adduser -S user -G user
#USER user
#COPY --from=build /draino /draino
#ENV PATH="/:${PATH}"
FROM alpine:3.15.6
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
USER root
RUN apk add --update --no-cache ca-certificates
RUN set -x && update-ca-certificates
USER nobody
ADD ./bin /usr/local/bin
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_DataDog/draino.git
git@gitee.com:mirrors_DataDog/draino.git
mirrors_DataDog
draino
draino
master

搜索帮助