-
Notifications
You must be signed in to change notification settings - Fork 22
/
Dockerfile
23 lines (19 loc) · 918 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
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV PATH=/bioinf-tools/:/bioinf-tools/cortex/bin/:/bioinf-tools/cortex/scripts/analyse_variants/seq-align/bin/:/bioinf-tools/vcftools-0.1.15/install/bin:/bioinf-tools/enaBrowserTools/python3:/clockwork/scripts/:$PATH
ENV PERL5LIB=/bioinf-tools/vcftools-0.1.15/install/share/perl/5.30.0/:/bioinf-tools/cortex/scripts/analyse_variants/bioinf-perl/lib:/bioinf-tools/cortex/scripts/calling/:$PERL5LIB
ENV LANG=C.UTF-8
ENV LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
ENV NXF_VER=22.10.0
COPY scripts/install_dependencies.sh /install_dependencies.sh
RUN /install_dependencies.sh /bioinf-tools
ARG CLOCKWORK_DIR=/clockwork
COPY . $CLOCKWORK_DIR
RUN service mysql start \
&& service mysql status \
&& cd $CLOCKWORK_DIR/python \
&& python3 setup.py test \
&& python3 setup.py install \
&& service mysql stop \
&& apt remove -y mysql-server
CMD clockwork