2020-09-24 13:12:45 +02:00
|
|
|
FROM sismics/ubuntu-jetty:9.4.12-2
|
2021-09-30 13:23:58 +02:00
|
|
|
LABEL maintainer="b.gamard@sismics.com"
|
2015-03-11 00:35:42 +01:00
|
|
|
|
2021-09-30 13:23:58 +02:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get -y -q --no-install-recommends install \
|
|
|
|
ffmpeg \
|
|
|
|
mediainfo \
|
|
|
|
tesseract-ocr \
|
|
|
|
tesseract-ocr-ara \
|
|
|
|
tesseract-ocr-chi-sim \
|
|
|
|
tesseract-ocr-chi-tra \
|
|
|
|
tesseract-ocr-dan \
|
|
|
|
tesseract-ocr-deu \
|
|
|
|
tesseract-ocr-fin \
|
|
|
|
tesseract-ocr-fra \
|
|
|
|
tesseract-ocr-heb \
|
|
|
|
tesseract-ocr-hin \
|
|
|
|
tesseract-ocr-hun \
|
|
|
|
tesseract-ocr-ita \
|
|
|
|
tesseract-ocr-jpn \
|
|
|
|
tesseract-ocr-kor \
|
|
|
|
tesseract-ocr-lav \
|
|
|
|
tesseract-ocr-nld \
|
|
|
|
tesseract-ocr-nor \
|
|
|
|
tesseract-ocr-pol \
|
|
|
|
tesseract-ocr-por \
|
|
|
|
tesseract-ocr-rus \
|
|
|
|
tesseract-ocr-spa \
|
|
|
|
tesseract-ocr-swe \
|
|
|
|
tesseract-ocr-tha \
|
|
|
|
tesseract-ocr-tur \
|
|
|
|
tesseract-ocr-ukr \
|
|
|
|
tesseract-ocr-vie && \
|
2017-03-21 08:56:00 +01:00
|
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
2015-03-11 00:35:42 +01:00
|
|
|
|
2018-03-04 16:43:40 +01:00
|
|
|
# Remove the embedded javax.mail jar from Jetty
|
2018-10-21 11:54:19 +02:00
|
|
|
RUN rm -f /opt/jetty/lib/mail/javax.mail.glassfish-*.jar
|
2018-03-04 16:43:40 +01:00
|
|
|
|
2015-03-11 00:35:42 +01:00
|
|
|
ADD docs.xml /opt/jetty/webapps/docs.xml
|
2017-11-04 20:50:57 +01:00
|
|
|
ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war
|
2020-05-19 15:33:23 +02:00
|
|
|
|
|
|
|
ENV JAVA_OPTIONS -Xmx1g
|