I want to build a docker image from ubuntu image. It is required to change the default sh from dash to bash manually. (Because it require to install many rpm packages which contains bash scripts)
Is there any method to let this action automatically without human behavior?
In my Dockerfile it maybe written as(Method 1)
RUN dpkg-reconfigure dash
I've tried another method(Method 2)
RUN ln -sf bash /bin/sh
But, both method can not work.