-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
30 lines (24 loc) · 717 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM rtfpessoa/ubuntu-jdk8
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install tzdata
RUN apt-get install -y \
maven \
python3.7 \
python3-pip \
tesseract-ocr \
imagemagick \
libopencv-dev
ADD cephis /usr/src/cephis
ADD normami /usr/src/normami
ADD forestplots /usr/src/forestplots
ADD forestplots.py /usr/src/forestplots.py
ADD requirements.txt /usr/src/requirements.txt
WORKDIR /usr/src/cephis
RUN mvn install -Dmaven.test.skip=true
WORKDIR /usr/src/normami
RUN mvn install -Dmaven.test.skip=true
WORKDIR /usr/src
RUN python3.7 -m pip install -r requirements.txt
ENV PATH="/usr/src/normami/target/appassembler/bin:/usr/src:${PATH}"
ENV FORESTPLOT_USE_DOCKER="no"