message: Create /target directory and give rights to it
  Fix  allow openshift to run the image as non root.
diff: @@ -7,6 +7,8 @@ RUN \
  sleep 1 && \
  ./mvnw package -Pprod -DskipTests && \
  mv /code/target/*.war /jhipster-registry.war && \
  + mkdir /target && \
  + chmod g+rwx /target && \
  rm -Rf /code/ /root/.m2 /root/.cache /tmp/*
  FROM openjdk:8-jre-alpine
  