2018-03-18 22:21:31 +01:00
|
|
|
FROM sismics/ubuntu-jetty:9.3.11
|
2018-02-28 22:53:06 +01:00
|
|
|
MAINTAINER b.gamard@sismics.com
|
2015-03-11 00:35:42 +01:00
|
|
|
|
2018-03-02 19:05:20 +01:00
|
|
|
RUN apt-get update && apt-get -y -q install ffmpeg mediainfo tesseract-ocr tesseract-ocr-fra tesseract-ocr-ita tesseract-ocr-kor tesseract-ocr-rus tesseract-ocr-ukr tesseract-ocr-spa tesseract-ocr-ara tesseract-ocr-hin tesseract-ocr-deu tesseract-ocr-pol tesseract-ocr-jpn tesseract-ocr-por tesseract-ocr-tha tesseract-ocr-jpn tesseract-ocr-chi-sim tesseract-ocr-chi-tra && \
|
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-18 22:21:31 +01:00
|
|
|
ENV TESSDATA_PREFIX /usr/share/tesseract-ocr/4.00/
|
2015-03-11 00:35:42 +01:00
|
|
|
ENV LC_NUMERIC C
|
|
|
|
|
2018-03-04 16:43:40 +01:00
|
|
|
# Remove the embedded javax.mail jar from Jetty
|
|
|
|
RUN rm -f /opt/jetty/lib/jndi/javax.mail.glassfish-*.jar
|
|
|
|
|
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
|