# Bahmni and CentOs...future..!

**URL:** <https://talk.openmrs.org/t/bahmni-and-centos-future/31538>\
**Category:** Bahmni\
**Tags:** centos, docker\
**Created:** [January 3, 2021, 1:21am UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538 "2021-01-03T01:21:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsmalipatil](https://talk.openmrs.org/letter_avatar/nsmalipatil/32/5_5575768a8748004e209b776fc1b2916d.png) [@nsmalipatil](https://talk.openmrs.org/u/nsmalipatil)\
**Post date:** [January 3, 2021, 1:21am UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/1 "2021-01-03T01:21:59Z")

</div>

Hi Guys…

With the CentOs and recent IBM/Redhat announcement with no more development and upgrade paths…what’s happening to the the openmrs and Bahmni…linux base.

Will there be a switch to different distribution… I really hope the Bahmni 0.93…will take this into consideration for future updates.

I won’t be confident…using a distribution with no upgrade path…I know Rocky Linux is being considered…will it be mature…? Will I trust my vast medical data…on a distribution that’s not going to be well supported…

Thoughts please.

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [January 3, 2021, 11:17am UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/2 "2021-01-03T11:17:56Z")

</div>

What _should_ be happening is simply to properly Dockerize Bahmni in a way that stops relying on CentOS.

As a matter of fact this has been done by various groups (including ourselves at [@MekomSolutions](https://talk.openmrs.org/groups/mekomsolutions)). There’s no technical hurdle anymore but this Dockerization isn’t part of the official Bahmni release as of yet.

Or is it @buvaneswariarun?

---

<div class="post-metadata">

**Author:** ![buvaneswariarun](https://talk.openmrs.org/letter_avatar/buvaneswariarun/32/5_5575768a8748004e209b776fc1b2916d.png) [@buvaneswariarun](https://talk.openmrs.org/u/buvaneswariarun)\
**Post date:** [January 4, 2021, 3:44am UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/3 "2021-01-04T03:44:30Z")

</div>

You are right @mksd, Dockerizing Bahmni is not in scope for 0.93. @nsmalipatil - Thanks for bringing this up and we completely resonate with your concern here. Kindly join this week’s PAT call and we can discuss this issue.

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [January 4, 2021, 11:12am UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/4 "2021-01-04T11:12:01Z")

</div>

@mksd Docker image still needs a base, doesn’t it? If your base is centos distro of some sort, you will need to update that as well. We would very happy for you to contribute towards dockerization. lead the way!

@nsmalipatil CentOS LTS for 7.4 is available till 2024, I think and I think for v8 its 2028. And yes, rest assured that we will start working on alternate platform. The world loved CentOS, its still early days – there is already talk of CentOS stream and Rocky Linux! We will have to wait a bit and see how things evolve.

Bahmni always provided independence at every distribution layer - while docker will feature prominently in our plans, we will keep providing other means of packaging (rpm for example).

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [January 4, 2021, 12:13pm UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/5 "2021-01-04T12:13:10Z")

</div>

> [@angshuonline](#):
>
> @mksd Docker image still needs a base, doesn’t it? If your base is centos distro of some sort, you will need to update that as well.

@angshuonline you mean [as done here](https://github.com/Bahmni/bahmni-docker/blob/a092bec8752e5ab1558172a6f595f2559786cd27/Dockerfile#L1):

```auto
FROM centos:6.6

```

?

If so, not, no more monolithic approach. We are talking about a “microservice” approach with each service as such:

- [odoo/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/odoo/Dockerfile)
- [proxy/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/proxy/Dockerfile)
- [openmrs/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/openmrs/Dockerfile)
- [metabase/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/metabase/Dockerfile)
- [openelis/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/openelis/Dockerfile)
- [bahmniapps/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/bahmniapps/Dockerfile)
- [bahmni-mart/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/bahmni-mart/Dockerfile)
- [appointments/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/appointments/Dockerfile)
- [odoo-connect/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/odoo-connect/Dockerfile)
- [bahmni-reports/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/bahmni-reports/Dockerfile)
- [implementer-interface/Dockerfile](https://github.com/mekomsolutions/bahmni-docker/blob/master/implementer-interface/Dockerfile)

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [January 4, 2021, 12:30pm UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/6 "2021-01-04T12:30:00Z")

</div>

the link you pointed above - is not the approach as well. that was a poor man’s solution to having a docker container or a possible image with using the same bahmni distro scripts. we do not advise using that.

For the links that you posted from mekom repos, I am assuming they are from some base minimal debian distro. the installations are different though - like you guys use the war packages directly. we would have used the rpm (or a deb package)

IMHO, thats no microservice. its analogous to running different systems on different containers. No MS architecture, lets not call it that.

---

<div class="post-metadata">

**Author:** ![achachiez](https://talk.openmrs.org/user_avatar/talk.openmrs.org/achachiez/32/2049_2.png) [@achachiez](https://talk.openmrs.org/u/achachiez)\
**Post date:** [January 9, 2021, 4:48pm UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/7 "2021-01-09T16:48:46Z")

</div>

Just out of curiosity @angshuonline do we have have any particular hard dependency on CentOS which could make it difficult for someone to make a switch to another OS.

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [January 9, 2021, 7:08pm UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/8 "2021-01-09T19:08:07Z")

</div>

not really, only the provisioning scripts are using the rpms. you can

1. use the wars, jars, etc directly. it does mean that you will have tons of steps to really automate.
2. Existing provisioning scripts can potentially (ideally) work on other platforms with some work

- ideally we should just abstract out the deployment using ansible modules
- change some of the CentOS specific OS script (locations, commands) if any. Likely to be small
- Fair bit of testing with all possible combinations

---

<div class="post-metadata">

**Author:** ![khatman](https://talk.openmrs.org/user_avatar/talk.openmrs.org/khatman/32/13262_2.png) [@khatman](https://talk.openmrs.org/u/khatman)\
**Post date:** [July 12, 2021, 3:44pm UTC](https://talk.openmrs.org/t/bahmni-and-centos-future/31538/9 "2021-07-12T15:44:21Z")

</div>

any plans to have Debian packages as well?
