-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Binh Vu
committed
Feb 18, 2018
1 parent
e955475
commit c520793
Showing
4 changed files
with
81 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
FROM continuumio/miniconda | ||
FROM ubuntu:14.04 | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y build-essential wget software-properties-common | ||
|
||
RUN wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && \ | ||
bash Miniconda2-latest-Linux-x86_64.sh -b | ||
|
||
ENV PATH /root/miniconda2/bin/:$PATH | ||
|
||
RUN /root/miniconda2/bin/conda install -y numpy scipy | ||
|
||
RUN cd home && \ | ||
wget https://github.com/minhptx/iswc-2016-semantic-labeling/archive/v0.1-alpha.tar.gz && \ | ||
wget https://github.com/minhptx/iswc-2016-semantic-labeling/archive/v0.1-alpha.3.tar.gz && \ | ||
mkdir semantic-labeling && \ | ||
tar -xf v0.1-alpha.tar.gz -C semantic-labeling --strip-components=1 && \ | ||
rm v0.1-alpha.tar.gz | ||
tar -xf v0.1-alpha.3.tar.gz -C semantic-labeling --strip-components=1 && \ | ||
rm v0.1-alpha.3.tar.gz | ||
|
||
RUN conda install numpy scipy | ||
RUN pip install -r requirements.txt | ||
|
||
RUN apt-get install -y | ||
RUN add-apt-repository ppa:webupd8team/java -y | ||
RUN apt-get update | ||
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections && \ | ||
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | ||
RUN apt-get install oracle-java8-installer | ||
|
||
WORKDIR /home/semantic-labeling | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
gensim==3.2.0 | ||
pyspark==2.2.0 | ||
pyspark==2.2.1 | ||
elasticsearch==6.0.0 | ||
ujson | ||
scikit-learn=0.19.1 | ||
pandas==0.22.0 |