mirror of
https://github.com/actiontech/dble.git
synced 2026-01-06 04:40:17 -06:00
change to master branch
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user