Skip to content

Commit

Permalink
BAH-3979 | Add. Upgraded MySQL 8.0 client (#197)
Browse files Browse the repository at this point in the history
* BAH-3979 | Add. Steps to install upgraded MySQL 8.0 client

* BAH-3979 | Add. Commands to remove yum cache
  • Loading branch information
mohan-13 authored Jun 26, 2024
1 parent 3ce4739 commit b8966f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package/docker/openmrs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit b8966f4

Please sign in to comment.