1 Star 0 Fork 0

searchje@163.com/ipmi_exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 552 Bytes
一键复制 编辑 原始数据 按行查看 历史
Conrad Hoffmann 提交于 2019-10-26 15:20 . Misc fixes for the Dockerfile
# Build /go/bin/ipmi_exporter
FROM quay.io/prometheus/golang-builder:1.13-base AS builder
ADD . /go/src/github.com/soundcloud/ipmi_exporter/
RUN cd /go/src/github.com/soundcloud/ipmi_exporter && make
# Container image
FROM ubuntu:18.04
WORKDIR /
RUN apt-get update \
&& apt-get install freeipmi-tools -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /go/src/github.com/soundcloud/ipmi_exporter/ipmi_exporter /bin/ipmi_exporter
EXPOSE 9290
ENTRYPOINT ["/bin/ipmi_exporter"]
CMD ["--config.file", "/config.yml"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/osboy/ipmi_exporter.git
git@gitee.com:osboy/ipmi_exporter.git
osboy
ipmi_exporter
ipmi_exporter
master

搜索帮助