Hey @burke !
Attempted installing again OpenMRS(after a year’s hiatus) with Digital Ocean and realised that the Platform file is still the older version.
Would like to ask if it’s possible to update the Docker File to pull the latest stable version of the OpenMRS Version?
Referring to this Github Repo: https://github.com/bmamlin/openmrs-core-docker
Anyway of keeping this maintained to the latest version? Would be super useful for me.
Thanks in advance for your help!
darius
(Darius Jazayeri)
May 19, 2017, 11:46pm
2
@stefan.buttigieg you’re probably better off looking at this (unless you specifically want just the platform and not the reference application):
Hi everyone,
As part of migration of demo server to docker, we are now publishing reference application docker images to dockerhub:
https://hub.docker.com/r/openmrs/openmrs-reference-application-distro/
There are two tags by now: 2.5 and nightly (which is more like on every build :D).
The CI job to push a tag after a release was not totally tested (because I cannot do a release!), so I’d like the next release manager to get in contact with me so I’ll be available to fix the build in case that …
1 Like
This sounds great! Much more organised this way.
I believe in my case, I’m better off with the Platform. Still have to distiniguish properly between all the versions.
Is it possible to update the documentation to reflect this change?
Documentation in question: https://wiki.openmrs.org/display/docs/Installing+OpenMRS+on+Docker
dkayiwa
(Daniel Kayiwa)
May 20, 2017, 7:22pm
4
Do you mind volunteering to update that documentation?
Hi Daniel!
Would love to but don’t know the exact instructions. I’m waiting for some further insight, as I’m still figuring out how to use Docker Compose and install the actual platform. Still learning here
cintiadr
(Cintia Del Rio)
May 21, 2017, 12:52am
6
The platform will also have a docker image deployed to dockerhub, but I cannot promise it any time soon That will take a couple of weeks.
The README file has a short description on how to generate docker images/docker compose from the SDK: https://hub.docker.com/r/openmrs/openmrs-reference-application-distro/
And it should work too if you run inside platform:
https://wiki.openmrs.org/display/docs/OpenMRS+SDK
mvn openmrs-sdk:build-distro -Ddistro=/path/to/openmrs-distro.properties
docker-compose up
The build-distro will generate docker files AND docker compose files for you to use
nickp
(Nick P)
February 17, 2020, 10:56am
7
If one generated new docker files in this manner, would there still need to be some kind of migration to update the database to a new version? It seems like this would update the application but the database might be using an old schema.
cintiadr
(Cintia Del Rio)
February 18, 2020, 12:59am
8
Hi @nickp
There’s no relationship between the docker image and the database version/schema.
The database schema is updated/controlled when you start the OpenMRS instance, by ‘liquibase’. So the version of OpenMRS inside the docker container is what defines the schema version.
I hope that explains it well.