Skip to content

Commit

Permalink
Fix the CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Sep 14, 2022
1 parent 7d117be commit a934e57
Show file tree
Hide file tree
Showing 2 changed files with 349 additions and 343 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ ARG MVN_ARGS='install'
COPY checkstyle.xml checkstyle-suppressions.xml CONTRIBUTING.md findbugs-include.xml LICENSE license-header.txt \
NOTICE.md README.md ruleset.xml SECURITY.md ./

# build the parent project first
RUN mvn --non-recursive $MVN_ARGS_SETTINGS $MVN_ARGS

COPY liquibase ./liquibase/
RUN mvn -pl liquibase $MVN_ARGS_SETTINGS $MVN_ARGS

Expand Down Expand Up @@ -130,7 +133,8 @@ ENV OMRS_CONFIG_CONNECTION_DATABASE="openmrs"
ENV OMRS_WEBAPP_NAME="openmrs"

RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml


COPY --from=dev /app/LICENSE LICENSE
# Copy the app
COPY --from=dev /app/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war

Expand Down
Loading

0 comments on commit a934e57

Please sign in to comment.