allow rabbitmq module install to fail, but be ok

This commit is contained in:
Matthew Slowe 2021-01-23 16:43:42 +00:00
parent 618bc5d76c
commit 612526aca8

View File

@ -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"]