-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (21 loc) · 1.69 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
34
FROM ubuntu:17.10
MAINTAINER Scikit-multilearn Team "[email protected]"
RUN apt-get update -y
RUN apt-get install -y dirmngr software-properties-common wget
RUN add-apt-repository ppa:webupd8team/java -y -k hkp://pgp.mit.edu
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
RUN echo deb http://downloads.skewed.de/apt/artful artful universe >> /etc/apt/sources.list
RUN echo deb-src http://downloads.skewed.de/apt/artful artful universe >> /etc/apt/sources.list
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 92F371361A7ECE03
RUN apt-get update -y
RUN apt-get install --allow-unauthenticated -y python3-graph-tool oracle-java8-installer python3-pip python3-dev python-dev python-pip python-graph-tool build-essential less libxml2-dev libz-dev libcupti-dev ruby ruby-dev make gcc
RUN pip3 install --upgrade pip
RUN pip2 install --upgrade pip
RUN pip3 install liac-arff numpy nose pylint scipy scikit-learn sphinx sphinx_rtd_theme sphinx_pypi_upload whichcraft future python-igraph python-louvain jupyter scikit-plot numpydoc pytest
RUN pip2 install liac-arff numpy nose pylint scipy scikit-learn sphinx sphinx_rtd_theme sphinx_pypi_upload whichcraft future python-igraph python-louvain jupyter scikit-plot numpydoc pytest
ADD setup /usr/local/bin/
RUN chmod 755 /usr/local/bin/setup
RUN gem install jekyll bundler
RUN wget https://adams.cms.waikato.ac.nz/snapshots/meka/meka-snapshot.zip -O /opt/meka.zip && cd /opt/ && unzip meka.zip && rm -rf meka.zip && mv meka* meka
ENV MEKA_CLASSPATH=/opt/meka/lib/
ENTRYPOINT ["/usr/local/bin/setup"]