# Inject patch in Docker Installation

**URL:** <https://meta.discourse.org/t/inject-patch-in-docker-installation/48994>\
**Category:** Self-hosting\
**Created:** [22 Agosto 2016, 11:39am UTC](https://meta.discourse.org/t/inject-patch-in-docker-installation/48994 "2016-08-22T11:39:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [22 Agosto 2016, 11:12pm UTC](https://meta.discourse.org/t/inject-patch-in-docker-installation/48994/2 "2016-08-22T23:12:36Z")

</div>

Yes, you should bundle the necessary functionality into a plugin and install it as part of the container build. You could also change the location that Discourse itself is cloned from to a git repo that contains the patches you want, but forking the main Discourse codebase is just going to leave you with a maintenance headache in the future when you need to update to a newer version of Discourse. So stick with a plugin.

---

_[View the full topic](https://meta.discourse.org/t/inject-patch-in-docker-installation/48994)._
