Skip error in dockerfile during the build
this is a typical linux trick to ensure a zero exit code
RUN unlink /run/supervisor.sock && etc/init.d/supervisor stop || :
the answer given here essentially uses different syntax to achieve the same
Dockerfile build - possible to ignore error?
there is no other way of preventing build failure at present