diff --git a/docker/Dockerfile b/docker/Dockerfile index b78a418e..d23559c1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,15 +13,12 @@ RUN \ mkdir -p /home/admin && \ cp -R /tmp/docker/admin/* /home/admin/ && \ /bin/cp -f alidata/bin/lark-wait /usr/bin/lark-wait && \ - mkdir -p /home/admin/manager && \ tar -xzvf /home/admin/manager.deployer-*.tar.gz -C /home/admin/manager && \ /bin/rm -f /home/admin/manager.deployer-*.tar.gz && \ - mkdir -p /home/admin/node && \ tar -xzvf /home/admin/node.deployer-*.tar.gz -C /home/admin/node && \ /bin/rm -f /home/admin/node.deployer-*.tar.gz && \ - mkdir -p home/admin/manager/logs && \ mkdir -p home/admin/node/logs && \ mkdir -p home/admin/zkData && \ diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index 00eab100..6645a5bb 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -6,7 +6,6 @@ RUN \ groupadd -r mysql && useradd -r -g mysql mysql && \ yum -y install wget mysql-server --nogpgcheck && \ yum clean all && \ - wget -q https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/zookeeper-3.4.13/zookeeper-3.4.13.tar.gz -O /home/admin/zookeeper-3.4.13.tar.gz && \ tar -xzvf /home/admin/zookeeper-*.tar.gz -C /home/admin && \ /bin/cp -rf /home/admin/zookeeper-3.4.13/conf/zoo_sample.cfg /home/admin/zookeeper-3.4.13/conf/zoo.cfg && \ diff --git a/lib/install.sh b/lib/install.sh index d6bff933..c38b53e9 100644 --- a/lib/install.sh +++ b/lib/install.sh @@ -1,3 +1,4 @@ +#!/bin/bash mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.1.0.7.0 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true mvn install:install-file -DgroupId=org.jtester -DartifactId=jtester -Dversion=1.1.8 -Dpackaging=jar -DpomFile=jtester-1.1.8.pom -Dfile=jtester-1.1.8.jar -Dsources=jtester-1.1.8-sources.jar mvn install:install-file -DgroupId=mockit -DartifactId=jmockit -Dversion=0.999.10 -Dpackaging=jar -DpomFile=jmockit-0.999.10.pom -Dfile=jmockit-0.999.10.jar -Dsources=jmockit-0.999.10-sources.jar