Skip to content

Commit

Permalink
Test new eXist-db
Browse files Browse the repository at this point in the history
  • Loading branch information
wsalesky committed Apr 18, 2024
1 parent 9c152d3 commit 37d71e3
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM --platform=linux/amd64 pkoiralap/existdb:1.0.0

ARG ADMIN_PASSWORD
# Start from the existing working base image
#FROM existdb/existdb:6.0.1
FROM --platform=linux/amd64 wsalesky/srophe-base:1.0.1

# Copy over all the files you need
COPY autodeploy/*.xar /exist/autodeploy/
COPY conf/*.xml /exist/etc/webapp/WEB-INF/
COPY conf/controller-config.xml /exist/etc/webapp/WEB-INF/
COPY conf/collection.xconf.init /exist/etc/
COPY conf/exist-webapp-context.xml /exist/etc/jetty/webapps/
COPY conf/conf.xml /exist/etc/conf.xml
COPY build/entrypoint.sh /entrypoint.sh
#COPY build/entrypoint.sh /entrypoint.sh

EXPOSE 8080 8443

Expand All @@ -28,7 +30,8 @@ ENV JAVA_TOOL_OPTIONS \
-XX:MaxRAMPercentage=${JVM_MAX_RAM_PERCENTAGE:-75.0} \
-XX:+ExitOnOutOfMemoryError \
-XX:-HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/exist/heapDump/exist-memory-dump.hprof
-XX:HeapDumpPath=/exist/heapDump/exist-memory-dump.hprof \
-XX:InitiatingHeapOccupancyPercent=70

HEALTHCHECK CMD [ "java", \
"org.exist.start.Main", "client", \
Expand All @@ -37,7 +40,7 @@ HEALTHCHECK CMD [ "java", \
"--xpath", "system:get-version()" ]


ENV ADMIN_PASSWORD=$ADMIN_PASSWORD

ENTRYPOINT [ "/busybox/sh", "/entrypoint.sh"]
ENTRYPOINT [ "java", \
"org.exist.start.Main"]

CMD ["jetty" ]

0 comments on commit 37d71e3

Please sign in to comment.