prisma1
                                
                                
                                
                                    prisma1 copied to clipboard
                            
                            
                            
                        Extend Docker build to allow for a folder called prerun_hook_files
If the folder exists in cwd, will be copied alongside the prerun_hook.sh script. Files inside will then be available to the script (from /app/prerun_hook_files).
References issue #4417
By putting certificates in this folder, I can use the Java keytool to add them to the store in the prerun_hook.sh script. These certificates are then successfully used when connecting to a Mongo database using ssl.
Closed this as it was against master, noticed that it is supposed to be against alpha.
Ok, not really sure about the alpha branch, all my testing has been against master, so reopening this pull request here.
Feel free to ignore this, as it probably makes more sense to do this (getting certs in) via building an entirely new Docker image based on the prisma one. I'm a bit new to Docker, so didn't see the obvious solution at first.