I have a simple Dockerfile which works perfectly on linux but fails on Mac exclusively.
the step that fails is
RUN source /root/.bashrc && \\