Commit fcec132c authored by kalvin's avatar kalvin

使用centos作为job基础镜像

parent ca0ac5b5
FROM 192.168.4.36/baseimg/busybox
FROM 192.168.4.36/baseimg/centos:12251535
USER root
WORKDIR /home/quant_group
......
......@@ -26,5 +26,5 @@ if [[ $is_running -eq 1 ]]
response=$(curl -X GET -H "Authorization: Basic cmFiYml0X2FkbWluOmFiYzEyMzQ=" "http://172.16.1.231:15672/api/definitions")
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://rabbitmq:15672/api/definitions"
else
echo "rabbitmq is not running!!! Do not execution replace job"
echo "rabbitmq is not running!!! Do not execution sync job"
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment