generated from VEuPathDB/vdi-plugin-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (26 loc) · 1.29 KB
/
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
31
32
33
FROM veupathdb/vdi-plugin-base:8.0.6
ARG APICOMMONDATA_COMMIT_HASH=699a94aab7c853205274aed2039ce0d2e4b76e30 \
CLINEPIDATA_GIT_COMMIT_SHA=8d31ba1b5cf7f6b022058b7c89e8e3ab0665f543 \
EDA_NEXTFLOW_GIT_COMMIT_SHA=f113cca94b9d16695dc4ac721de211d72e7c396f \
SHARED_LIB_GIT_COMMIT_SHA=ee4853748fcdd5d7d8675eb0eb3828ea11da8f42
RUN perl -MCPAN -e 'install qq(Switch)' \
&& perl -MCPAN -e 'install qq(Config::Std)' \
&& perl -MCPAN -e 'install qq(Text::Unidecode)' \
&& perl -MCPAN -e 'install qq(Date::Calc)' \
&& perl -MCPAN -e 'install qq(XML::Simple)' \
&& perl -MCPAN -e 'install qq(Digest::SHA1)'
COPY bin/buildGus.bash /usr/bin/buildGus.bash
RUN /usr/bin/buildGus.bash
RUN wget -O fbw.zip https://github.com/VEuPathDB/script-find-bin-width/releases/download/v1.0.3/fbw-linux-1.0.3.zip \
&& unzip fbw.zip \
&& rm fbw.zip \
&& mv find-bin-width /usr/bin/find-bin-width
RUN git clone https://github.com/VEuPathDB/lib-vdi-plugin-study.git \
&& cd lib-vdi-plugin-study \
&& git checkout ${SHARED_LIB_GIT_COMMIT_SHA} \
&& mkdir -p /opt/veupathdb/lib/perl /opt/veupathdb/bin \
&& cp lib/perl/VdiStudyHandlerCommon.pm /opt/veupathdb/lib/perl \
&& cp bin/* /opt/veupathdb/bin
COPY bin /opt/veupathdb/bin/
COPY lib/xml/* /usr/local/lib/xml/
CMD ["run-plugin.sh"]