Patch #37549

How to properly apply a Patch to a Redmine installed through Docker

Added by j l 4 months ago. Updated 4 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Administration
Target version:-

Description

Hello,

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 ?

Thanks.
Regards

History

#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
http://webcache.googleusercontent.com/search?q=cache:https://jkraemer.net/2016/03/deploy-and-maintain-redmine-the-right-way

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.

#2 Updated by Go MAEDA 4 months ago

  • Status changed from New to Closed

Please use forums for questions. Issues are used to report a bug, suggesting a new feature, or submitting a patch. Reading How to request help may be helpful for you.

Also available in: Atom PDF