Used to build a MariaDB Docker Image with an OpenMRS dump.
While OpenMRS can start without this dump, having it available simplifies the initial startup process. Without the dump, OpenMRS requires a restart after the first launch to activate the oauth2 module. This is because during the initial setup process, a web filter is utilized, preventing all modules from starting up initially.
the current dumps are:
dump/openmrs-2.5.12.sql.gz
built for OpenMRS 2.5.12.dump/openmrs-2.6.4.sql.gz
built for OpenMRS 2.6.4. It's possible to create another dump by using the scripts in the folderdump-extract
:
- Change if needed the OpenMRS Version in
dump-extract/docker-compose.yml
file ( fromopenmrs/openmrs-core:2.5.12
toopenmrs/openmrs-core:X.Y.Z
) - run
step-1-start-and-wait-until-ready.sh
to start a new openMRS instance and wait until the end - run
step-2-extract-dump.sh <YOUR_VERSION>
to extract the dump that will be moved todump/
- Modify
.github/workflow/publish-mariadb-docker-image.yml
to create a image using this dump version - See
.github/workflow/publish-mariadb-2.6.4-docker-image.yml
for an example
it's possible to automate the full process but this operation is not often used so these steps are acceptable.