Repository navigation
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (33 loc) · 1.59 KB
/
Copy pathDockerfile
File metadata and controls
33 lines (33 loc) · 1.59 KB
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 klukas/iap
MAINTAINER Dr. Christian Klukas <christian.klukas@gmail.com>
LABEL Description="Multi Channel Classification and Clustering" Version="1.0.0"
RUN apt-get update
RUN apt-get install -y bc parallel
#RUN rm -R IAP/
#RUN rm IAPconsole.sh
#RUN rm IAPgui.sh
RUN mkdir -p start
RUN mkdir -p start/lib
RUN cp iap_2_0.jar /start/lib/iap.jar
RUN cd start/lib
RUN wget -nv "http://downloads.openmicroscopy.org/bio-formats/5.1.0/artifacts/bioformats_package.jar"
RUN pwd && ls -lh bioformats_package.jar
RUN mv bioformats_package.jar /start/lib/bioformats_package.jar
RUN wget -nv "http://central.maven.org/maven2/de/lmu/ifi/dbs/jfeaturelib/JFeatureLib/1.6.1/JFeatureLib-1.6.1.jar"
RUN pwd && ls -lh JFeatureLib-1.6.1.jar
RUN mv JFeatureLib-1.6.1.jar /start/lib/JFeatureLib-1.6.1.jar
RUN wget -nv "http://downloads.sourceforge.net/project/weka/weka-3-6/3.6.12/weka-3-6-12.zip"
RUN pwd && ls -lh weka-3-6-12.zip
RUN unzip -j weka-3-6-12.zip weka-3-6-12/weka.jar -d /start/lib
RUN cd /
RUN git clone --depth=1 https://github.com/OpenImageAnalysisGroup/MCCCS.git
RUN mkdir -p /MCCCS/MCCCS/bin
RUN echo "Libs:"
RUN echo $(find /start | grep jar$ | paste -sd ":" -)
RUN echo "Compile command:"
RUN echo javac -cp $(find /start | grep jar$ | paste -sd ":" -) $(find /MCCCS/MCCCS/src/ | grep java$ | paste -sd " ") -d /MCCCS/MCCCS/bin/
RUN javac -cp $(find /start | grep jar$ | paste -sd ":" -) $(find /MCCCS/MCCCS/src/ | grep java$ | paste -sd " ") -d /MCCCS/MCCCS/bin/
RUN ant -f MCCCS/MCCCS/create_mcccs_jar_for_docker.xml
RUN cp /MCCCS/MCCCS/release/mcccs.jar start
RUN cp -r /MCCCS/MCCCS/main/* start
RUN chmod +x start/*.sh