Docker Community Forums

Share and learn in the Docker community.

Best practices in bundling private gems in dockers

docker

(Stenver) #1

Hello

Can anybody tell me what are the best practices in bundling private gems in a docker. The problem I am having is that we dont want to add our private keys or any authentication credentials to the docker in case they are leaked. On the other hand, it seems unfeasible to pre-bundle the gems and move them into the docker, because the gems with native extensions might not work with the docker configuration.

Can anybody tell me what the best practices are or point me to a good article?