-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
O3-3427: Update SDK to follow updated /distro_root structure
- Loading branch information
1 parent
096bd00
commit 8c09761
Showing
6 changed files
with
55 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
maven-plugin/src/main/resources/build-distro/web/Dockerfile-jre11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Docker configuration automatically generated by openmrs SDK | ||
|
||
FROM openmrs/openmrs-core:nightly-amazoncorretto-11 | ||
|
||
COPY openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/ | ||
COPY openmrs-distro.properties /openmrs/distribution/ | ||
COPY openmrs_modules /openmrs/distribution/openmrs_modules | ||
COPY openmrs_owas /openmrs/distribution/openmrs_owas | ||
COPY openmrs_config /openmrs/distribution/openmrs_config | ||
COPY openmrs_spa /openmrs/distribution/openmrs_spa |
4 changes: 4 additions & 0 deletions
4
maven-plugin/src/main/resources/build-distro/web/Dockerfile-jre11-bundled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM openmrs/openmrs-core:nightly-amazoncorretto-11 | ||
|
||
COPY openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/ | ||
COPY openmrs-distro.properties /openmrs/distribution/ |
27 changes: 7 additions & 20 deletions
27
maven-plugin/src/main/resources/build-distro/web/Dockerfile-jre8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,10 @@ | ||
FROM tomcat:7-jre8 | ||
|
||
# Docker configuration automatically generated by openmrs SDK | ||
|
||
COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war | ||
COPY modules /usr/local/tomcat/.OpenMRS/modules | ||
COPY owa /usr/local/tomcat/.OpenMRS/owa | ||
|
||
COPY setenv.sh /usr/local/tomcat/bin/setenv.sh | ||
|
||
COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh | ||
COPY startup.sh /usr/local/tomcat/startup.sh | ||
|
||
RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml | ||
|
||
RUN chmod +x /usr/local/tomcat/wait-for-it.sh | ||
RUN chmod +x /usr/local/tomcat/startup.sh | ||
|
||
# For documentation purpose only | ||
COPY openmrs-distro.properties /root/openmrs-distro.properties | ||
COPY Dockerfile /root/Dockerfile | ||
FROM openmrs/openmrs-core:nightly-amazoncorretto-8 | ||
|
||
CMD ["/usr/local/tomcat/startup.sh"] | ||
COPY openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/ | ||
COPY openmrs-distro.properties /openmrs/distribution/ | ||
COPY openmrs_modules /openmrs/distribution/openmrs_modules | ||
COPY openmrs_owas /openmrs/distribution/openmrs_owas | ||
COPY openmrs_config /openmrs/distribution/openmrs_config | ||
COPY openmrs_spa /openmrs/distribution/openmrs_spa |
23 changes: 3 additions & 20 deletions
23
maven-plugin/src/main/resources/build-distro/web/Dockerfile-jre8-bundled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,4 @@ | ||
FROM tomcat:7-jre8 | ||
FROM openmrs/openmrs-core:nightly-amazoncorretto-8 | ||
|
||
# Docker configuration automatically generated by openmrs SDK | ||
|
||
COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war | ||
|
||
COPY setenv.sh /usr/local/tomcat/bin/setenv.sh | ||
|
||
COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh | ||
COPY startup.sh /usr/local/tomcat/startup.sh | ||
|
||
RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml | ||
|
||
RUN chmod +x /usr/local/tomcat/wait-for-it.sh | ||
RUN chmod +x /usr/local/tomcat/startup.sh | ||
|
||
# For documentation purpose only | ||
COPY openmrs-distro.properties /root/openmrs-distro.properties | ||
COPY Dockerfile /root/Dockerfile | ||
|
||
CMD ["/usr/local/tomcat/startup.sh"] | ||
COPY openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/ | ||
COPY openmrs-distro.properties /openmrs/distribution/ |