From 612526aca816ca2e306538054fadea7121bcd025 Mon Sep 17 00:00:00 2001 From: Matthew Slowe Date: Sat, 23 Jan 2021 16:43:42 +0000 Subject: [PATCH] allow rabbitmq module install to fail, but be ok --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6d0e33..ff1d76f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM perl -RUN yes | cpan install Net::MQTT::Simple Net::RabbitMQ Net::Stomp +RUN yes | cpan install Net::MQTT::Simple || true +RUN yes | cpan install -f Net::RabbitMQ || true +RUN yes | cpan install Net::Stomp || true COPY bridge.pl /bridge.pl -ENTRYPOINT ["/bridge.pl"] \ No newline at end of file +ENTRYPOINT ["/bridge.pl"]