prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

Extend Docker build to allow for a folder called prerun_hook_files

Open larsivi opened this issue 5 years ago • 4 comments

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.

larsivi avatar Mar 01 '20 13:03 larsivi

CLA assistant check
All committers have signed the CLA.

claassistantio avatar Mar 01 '20 13:03 claassistantio

Closed this as it was against master, noticed that it is supposed to be against alpha.

larsivi avatar Mar 01 '20 13:03 larsivi

Ok, not really sure about the alpha branch, all my testing has been against master, so reopening this pull request here.

larsivi avatar Mar 01 '20 13:03 larsivi

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.

larsivi avatar Mar 02 '20 22:03 larsivi