nightingale1/dockerfiles/n9e/Dockerfile

12 lines
353 B
Docker
Raw Normal View History

FROM golang as builder
WORKDIR /home/n9e/builder
ENV GOPROXY=https://mirrors.aliyun.com/goproxy/
RUN git clone https://hub.fastgit.org/didi/nightingale.git
RUN nightingale/control build
FROM centos:7
WORKDIR /home/n9e
COPY --from=builder /home/n9e/builder/nightingale/ .
COPY entrpoint.sh .
RUN yum install mysql net-tools -y
2020-11-10 23:55:25 +08:00
ENTRYPOINT ./entrpoint.sh