mirror of
https://github.com/actiontech/dble.git
synced 2026-01-07 21:30:22 -06:00
change to master branch
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
From centos:centos7
|
||||
RUN yum install -y wget java mysql
|
||||
|
||||
RUN wget -P /opt https://github.com/actiontech/dble/releases/download/2.18.12.0%2Ftag/actiontech-dble-2.18.12.0.tar.gz && \
|
||||
tar zxvf /opt/actiontech-dble-2.18.12.0.tar.gz -C /opt && \
|
||||
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/conf/schema.xml -P /opt/dble/conf/ && \
|
||||
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/conf/server.xml -P /opt/dble/conf/ && \
|
||||
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/conf/rule.xml -P /opt/dble/conf/ && \
|
||||
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/conf/wrapper.conf -P /opt/dble/conf/ && \
|
||||
wget https://raw.githubusercontent.com/actiontech/dble/docker-file/docker-images/conf/docker_init_start.sh -P /opt/dble/bin/ && \
|
||||
chmod 777 /opt/dble/bin/docker_init_start.sh && \
|
||||
rm -f /opt/actiontech-dble-2.18.12.0.tar.gz
|
||||
|
||||
VOLUME /opt/dble
|
||||
|
||||
CMD ["/opt/dble/bin/docker_init_start.sh"]
|
||||
17
docker-images/quick-start/Dockerfile
Normal file
17
docker-images/quick-start/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
From centos:centos7
|
||||
RUN yum install -y wget java mysql
|
||||
|
||||
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/ && \
|
||||
chmod 777 /opt/dble/bin/docker_init_start.sh && \
|
||||
rm -f /opt/actiontech-dble-$version.tar.gz
|
||||
|
||||
VOLUME /opt/dble
|
||||
|
||||
CMD ["/opt/dble/bin/docker_init_start.sh"]
|
||||
Reference in New Issue
Block a user