diff --git a/package/docker/openmrs/Dockerfile b/package/docker/openmrs/Dockerfile index 02ba3cd..596d09b 100644 --- a/package/docker/openmrs/Dockerfile +++ b/package/docker/openmrs/Dockerfile @@ -82,12 +82,17 @@ COPY package/resources/blank-user.png /etc/bahmni/ # Used by envsubst command for replacing environment values at runtime RUN yum install -y \ - mysql \ - mysql-client \ gettext-base \ gettext \ acl +# Install mysql client to run sql scripts +RUN yum install -y https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm \ + && rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 \ + && yum install -y mysql-community-client \ + && yum clean all \ + && rm -rf /var/cache/yum + # Modify file permissions for document_images directory RUN setfacl -d -m o::rx -m g::rx /home/bahmni/document_images/