fixed docker build

This commit is contained in:
七锋
2018-08-14 13:38:01 +08:00
parent 8a74504fe3
commit 13291c8d7b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ BASE=${bin_abs_path}
if [ "$1" == "base" ] ; then
docker build --no-cache -t canal/osbase $BASE/base
else
rm -rf $BASE/canal.*.tar.gz ;
cd $BASE/../ && mvn clean package -Dmaven.test.skip -Denv=release && cd $current_path ;
if [ "$1" == "kafka" ] ; then
cp $BASE/../target/canal-kafka-*.tar.gz $BASE/
+1 -1
View File
@@ -10,7 +10,7 @@ function usage() {
echo " -e canal.instance.connectionCharset=UTF-8 \\"
echo " -e canal.instance.tsdb.enable=true \\"
echo " -e canal.instance.gtidon=false \\"
echo " -e canal.instance.filter.regex=.*\\..* "
echo " -e canal.instance.filter.regex=.*\\\\\\..* "
exit
}