Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating initial db #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM maven:3.6-jdk-8 as download

WORKDIR /

ARG ISANTEPLUS_VERSION=v2.2.1
ARG ISANTEPLUS_VERSION=updateInitialDb

RUN git clone --depth 1 --branch $ISANTEPLUS_VERSION https://github.com/IsantePlus/openmrs-distro-isanteplus.git

Expand All @@ -14,6 +14,10 @@ RUN mvn generate-resources

WORKDIR /db

RUN unzip /openmrs-distro-isanteplus/package/src/main/resources/openmrs-distro.sql.zip

RUN rm /openmrs-distro-isanteplus/package/src/main/resources/openmrs-distro.sql.zip

RUN mv /openmrs-distro-isanteplus/package/src/main/resources/openmrs-distro.sql /db

FROM debian:buster-slim as db
Expand Down Expand Up @@ -77,7 +81,7 @@ RUN set -ex; \
apt-key list > /dev/null

ENV MYSQL_MAJOR 5.7
ENV MYSQL_VERSION 5.7.37-1debian10
ENV MYSQL_VERSION 5.7.42-1debian10

RUN echo 'deb http://repo.mysql.com/apt/debian/ buster mysql-5.7' > /etc/apt/sources.list.d/mysql.list

Expand Down
Loading