Commit 5752a582 authored by daidekun's avatar daidekun

安装curl

parent 43cf165c
......@@ -19,6 +19,7 @@ RUN apt-get update \
&& apt-get install -y vim \
&& apt-get install -y telnet \
&& apt-get install -y openssh-server \
&& apt-get install -y curl \
&& /etc/init.d/ssh start
WORKDIR /home/quant_group/rabbitmq
......
#!/bin/sh
response=$(curl -X GET -H "Authorization: Basic cWE6cWF0ZXN0" "http://192.168.4.15:15672/api/definitions")
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://localhost:15672/api/definitions"
\ 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