forked from pneymrl2f/nightingale
docker-compose v0.2 (#318)
* fix regular dot * add yarn.lock to .gitignore * add docker-compose * add docker-compose * Delete PORTForm.tsx * Delete .gitignore * add .gitignore * Update .gitignore * add ifconfig * fix dockerfile filename * remove nginx.sh in Dockerfile * 1 修复agent缺失命令 2 二次构建二进制 3 mysql启动等待 * 1 修复agent缺失命令 2 二次构建二进制 3 mysql启动等待master
parent
1482cfcf32
commit
4b2ebf4761
@ -0,0 +1,12 @@
|
||||
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
|
||||
ENTRYPOINT ./entrpoint.sh
|
@ -1,7 +0,0 @@
|
||||
FROM centos:7
|
||||
WORKDIR /home/n9e
|
||||
COPY entrpoint.sh .
|
||||
ADD http://116.85.64.82/n9e-3.0.0.tar.gz .
|
||||
RUN tar xvf n9e-3.0.0.tar.gz
|
||||
RUN yum install mysql -y
|
||||
ENTRYPOINT ./entrpoint.sh
|
@ -1,6 +1,5 @@
|
||||
FROM nginx
|
||||
WORKDIR /home/n9e
|
||||
COPY nginx.sh .
|
||||
COPY nginx.conf /etc/nginx
|
||||
ADD http://116.85.64.82/pub.20200928.tar.gz .
|
||||
RUN tar xvf pub.20200928.tar.gz
|
||||
|
Loading…
Reference in new issue