How to properly apply a Patch to a Redmine installed through Docker
I have a docker-compose file used to deploy redmine:4.2 and a mysql db.
I am looking for a clean and permanent way to apply a patch to redmine in this context.
I have looked for documentation online but haven't found anything related to this issue.
Right now my only option seems to be building my own docker image based on the official one, install the "patch" package (not sure how, my tests on that matter have always failed until now), and apply my specific patch.
Am I missing something simple ?
#1 Updated by Dmitry Makurin 4 months ago
There is no other way besides making a local fork of redmine and building your own docker image.
Here is a good article describes how to setup a redmine fork using git
So you need to:
1. Create a redmine fork
2. Apply patch
3. Build a docker image using your redmine fork
4. Deploy built docker image
For docker image you can also make a fork of bitnami repository and replace redmine url.