/bin/sh 1 java not found docker code example
Example: /bin/sh 1 java not found docker
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 #This can vary
ENV PATH $PATH:$JAVA_HOME/bin
And build the docker image with --no-cache option
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 #This can vary
ENV PATH $PATH:$JAVA_HOME/bin
And build the docker image with --no-cache option