change to master branch

This commit is contained in:
sunzhengfang
2019-01-14 14:27:53 +08:00
parent 15df7fb21f
commit ac9a2b1e3f

View File

@@ -1,14 +1,14 @@
From centos:centos7
RUN yum install -y wget java mysql
RUN version=$( curl "https://github.com/actiontech/dble/releases/latest"|awk -F "/" '{print $8}')
RUN version=$(curl "https://github.com/actiontech/dble/releases/latest"|awk -F "/" '{print $8}') && \
wget -P /opt https://github.com/actiontech/dble/releases/download/$version%2Ftag/actiontech-dble-$version.tar.gz && \
tar zxvf /opt/actiontech-dble-$version.tar.gz -C /opt && \
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/quick-start/schema.xml -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/quick-start/server.xml -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/quick-start/rule.xml -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/quick-start/wrapper.conf -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/quick-start/docker_init_start.sh -P /opt/dble/bin/ && \
wget https://raw.githubusercontent.com/actiontech/dble/master/docker-images/quick-start/schema.xml -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/master/docker-images/quick-start/server.xml -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/master/docker-images/quick-start/rule.xml -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/master/docker-images/quick-start/wrapper.conf -P /opt/dble/conf/ && \
wget https://raw.githubusercontent.com/actiontech/dble/master/docker-images/quick-start/docker_init_start.sh -P /opt/dble/bin/ && \
chmod 777 /opt/dble/bin/docker_init_start.sh && \
rm -f /opt/actiontech-dble-$version.tar.gz