noxdafox / rabbitmq-cloudwatch-exporter

RabbitMQ Plugin for publishing cluster metrics to AWS CloudWatch
Mozilla Public License 2.0
41 stars 9 forks source link

Unable to install version v1.0.0 on docker #23

Closed steventranjs closed 4 years ago

steventranjs commented 4 years ago

v1.0.0

ENV CWPLUGIN https://api.github.com/repos/noxdafox/rabbitmq-cloudwatch-exporter/releases/28477282

RUN apt-get update -y \ && apt-get install -y jq curl wget \ && export DLS="$(curl $CWPLUGIN | jq -r '.assets[].browser_download_url')" && (for u in $DLS; do wget -P /plugins $u; done;) \ && rabbitmq-plugins --offline enable rabbitmq_management rabbitmq_cloudwatch_exporter


- docker build crashed with below error 

Problem reading some plugins: [{"/opt/rabbitmq/plugins/lager-3.6.10.ez", duplicate_plugin}] Problem reading some plugins: [{"/opt/rabbitmq/plugins/lager-3.6.10.ez", duplicate_plugin}] Problem reading some plugins: [{"/opt/rabbitmq/plugins/lager-3.6.10.ez", duplicate_plugin}] Error: {:plugins_not_found, [:rabbitmq_cloudwatch_exporter]}


- I also tried with `rabbitmq:3.8.5` but it's still crashed with same ERROR

- However, if I change plugin to `v0.3.1`, then it works!

FROM rabbitmq:3.7.17

v0.3.1

ENV CWPLUGIN https://api.github.com/repos/noxdafox/rabbitmq-cloudwatch-exporter/releases/22416288

RUN apt-get update -y \ && apt-get install -y jq curl wget \ && export DLS="$(curl $CWPLUGIN | jq -r '.assets[].browser_download_url')" && (for u in $DLS; do wget -P /plugins $u; done;) \ && rabbitmq-plugins --offline enable rabbitmq_management rabbitmq_cloudwatch_exporter



Need your help on this @noxdafox  thanks
noxdafox commented 4 years ago

Hello,

thanks for reporting this. I updated the release with the missing packages.

Could you please try again?

steventranjs commented 4 years ago

Thanks @noxdafox it's fixed now!!!