Hello,
I am trying to run provisioning .sh script for sonatype/nexus3 image:
https://hub.docker.com/r/sonatype/nexus3
This script can only be run when container is up & running. Is it possible to execute this script in Dockerfile/docker-compose? I was trying to run it using CMD command in Dockerfile but after script was executed the container Exited (correct behavior).
So is it possible to run nexus in background and then execute provisioning script using Dockerfile/docker-compose? Maybe I should override nexus3 image Dockerfile?
Thanks for help 