concordia-docker/concordia-aligner/Dockerfile

23 lines
1.1 KiB
Docker
Raw Permalink Normal View History

2019-06-13 12:35:38 +02:00
FROM ubuntu:16.04
# Set the locale
RUN apt-get update && apt-get install -y locales
RUN sed -i -e 's/# pl_PL.UTF-8 UTF-8/pl_PL.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
ENV LANG pl_PL.UTF-8
ENV LANGUAGE pl_PL:pl
ENV LC_ALL pl_PL.UTF-8
2019-06-26 10:03:51 +02:00
RUN apt-get install -y git cmake g++ python3 python3-pip libfcgi-dev libpq-dev python3-psycopg2 nginx php apache2 libapache2-mod-php spawn-fcgi cmake g++ libboost-dev libboost-serialization-dev libboost-test-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev libboost-regex-dev libboost-locale-dev liblog4cpp5-dev libconfig++-dev libconfig-dev libpcre3-dev
2019-08-28 07:42:22 +02:00
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-library.git
RUN cd concordia-library && mkdir build && cd build && ../cmake.sh && make && make install && ldconfig
2019-06-26 10:03:51 +02:00
2019-06-13 12:35:38 +02:00
RUN pip3 install requests
2019-06-13 13:00:04 +02:00
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-aligner.git
2019-06-13 12:35:38 +02:00
RUN git clone https://github.com/clab/fast_align
2019-06-13 13:00:04 +02:00
RUN cd fast_align && mkdir build && cd build && cmake .. && make && cp fast_align ../../concordia-aligner/
2019-06-13 12:35:38 +02:00
2019-06-26 12:32:55 +02:00
COPY do_align.sh /
ENTRYPOINT ["/do_align.sh"]
CMD []