dockerfile
RUN "source /etc/profile.d/go.sh"
# error
/bin/sh: 1: source: not found
RUN /bin/bash -c "source /etc/profile.d/go.sh"
dockerfile
RUN "source /etc/profile.d/go.sh"
# error
/bin/sh: 1: source: not found
RUN /bin/bash -c "source /etc/profile.d/go.sh"