I created a docker image from openjdk:8-jdk-alpine but when I try to execute simple commands I get the following errors:
RUN bash /bin/sh: bash: not found R
Try using RUN /bin/sh instead of bash.
RUN /bin/sh