-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a memory configuration to allow for processing of larger reports (
#47) See issue dzhw/metadatamanagement#3326 for more details.
- Loading branch information
1 parent
3823d3c
commit 8980401
Showing
4 changed files
with
17 additions
and
427 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
# | ||
FROM adoptopenjdk:15.0.2_7-jre-hotspot-focal | ||
MAINTAINER René Reitmann <[email protected]> | ||
ARG JAR_FILE | ||
|
||
# install all available package updates | ||
RUN apt-get update && apt-get upgrade -y -q && apt-get dist-upgrade -y -q | ||
|
@@ -23,9 +22,16 @@ RUN apt-get update \ | |
RUN mkdir /usr/share/texlive/texmf-dist/tex/latex/calibri | ||
COPY latex-packages/fonts/Calibri /usr/share/texlive/texmf-dist/ | ||
RUN echo "Map Calibri.map" >> /usr/share/texlive/texmf-dist/web2c/updmap.cfg | ||
RUN fc-cache && texhash && mktexlsr && updmap-sys | ||
|
||
# copy memory limits config | ||
COPY latex-packages/config/memory-limits.cnf /etc/texmf/texmf.d/ | ||
|
||
# update texlive | ||
RUN fc-cache && update-texmf && texhash && mktexlsr && updmap-sys | ||
|
||
# copy other document assets | ||
COPY latex-packages/doc /app/doc | ||
|
||
# COPY the spring boot task jar | ||
ARG JAR_FILE | ||
COPY ${JAR_FILE} /app/report-task.jar |
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,7 @@ | ||
main_memory = 12000000 | ||
extra_mem_top = 12000000 | ||
extra_mem_bot = 12000000 | ||
font_mem_size = 12000000 | ||
pool_size = 12000000 | ||
buf_size = 12000000 | ||
save_size = 12000000 |
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
Oops, something went wrong.