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
RUN /bin/sh -c "apk add --no-cache bash"
worked for me.