From 54fad1ce1999029175d7d62697ca72585a557d5b Mon Sep 17 00:00:00 2001 From: paridhimnnit Date: Thu, 4 Jul 2019 01:18:46 +0530 Subject: [PATCH 1/6] Add files via upload --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f01b9b8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +# Use an official centos7 image +FROM centos:7 + +MAINTAINER paridhi "paridhi.shukla@phenompeople.com" + +RUN yum update -y \ + && yum install -y https://centos7.iuscommunity.org/ius-release.rpm \ + && yum install -y python36u python36u-libs python36u-devel python36u-pip \ + && yum groupinstall -y 'development tools' \ + && yum install -y wget gcc libffi-devel python-devel openssl-devel libev-devel + +# setting proper alias for python3 and pip3 and setting basic packages +RUN ln -s /usr/bin/pip3.6 /bin/pip3 && ln -s /usr/bin/python3.6 /usr/bin/python3 \ + && pip3 install --upgrade pip && pip3 install spacy && pip3 install -U setuptools \ + && python3 -m spacy download en + +# downloading embedding file and saving to appropriate path +RUN wget https://dl.fbaipublicfiles.com/fasttext/vectors-english/wiki-news-300d-1M.vec.zip \ + && mkdir -p /opt/ext_data \ + && unzip wiki-news-300d-1M.vec.zip -d /opt/ext_data \ + && rm -f wiki-news-300d-1M.vec.zip From 85513b17a8e7558ad18f3c29975b40eeee312b53 Mon Sep 17 00:00:00 2001 From: paridhimnnit Date: Thu, 4 Jul 2019 01:20:26 +0530 Subject: [PATCH 2/6] Create Dockerfile --- 3.6.8/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 3.6.8/Dockerfile diff --git a/3.6.8/Dockerfile b/3.6.8/Dockerfile new file mode 100644 index 0000000..df4ba30 --- /dev/null +++ b/3.6.8/Dockerfile @@ -0,0 +1,15 @@ +# Use an official centos7 image +FROM centos:7 + +MAINTAINER paridhi "paridhi.shukla@phenompeople.com" + +RUN yum update -y \ + && yum install -y https://centos7.iuscommunity.org/ius-release.rpm \ + && yum install -y python36u python36u-libs python36u-devel python36u-pip \ + && yum groupinstall -y 'development tools' \ + && yum install -y wget gcc libffi-devel python-devel openssl-devel libev-devel + +# setting proper alias for python3 and pip3 and setting basic packages +RUN ln -s /usr/bin/pip3.6 /bin/pip3 && ln -s /usr/bin/python3.6 /usr/bin/python3 \ + && pip3 install --upgrade pip && pip3 install spacy && pip3 install -U setuptools \ + && python3 -m spacy download en From c02d4c13182f88db1680e7938d52642a76774a0c Mon Sep 17 00:00:00 2001 From: paridhimnnit Date: Thu, 4 Jul 2019 01:21:23 +0530 Subject: [PATCH 3/6] Create 3.6.8-fasttext --- 3.6.8-fasttext | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 3.6.8-fasttext diff --git a/3.6.8-fasttext b/3.6.8-fasttext new file mode 100644 index 0000000..f01b9b8 --- /dev/null +++ b/3.6.8-fasttext @@ -0,0 +1,21 @@ +# Use an official centos7 image +FROM centos:7 + +MAINTAINER paridhi "paridhi.shukla@phenompeople.com" + +RUN yum update -y \ + && yum install -y https://centos7.iuscommunity.org/ius-release.rpm \ + && yum install -y python36u python36u-libs python36u-devel python36u-pip \ + && yum groupinstall -y 'development tools' \ + && yum install -y wget gcc libffi-devel python-devel openssl-devel libev-devel + +# setting proper alias for python3 and pip3 and setting basic packages +RUN ln -s /usr/bin/pip3.6 /bin/pip3 && ln -s /usr/bin/python3.6 /usr/bin/python3 \ + && pip3 install --upgrade pip && pip3 install spacy && pip3 install -U setuptools \ + && python3 -m spacy download en + +# downloading embedding file and saving to appropriate path +RUN wget https://dl.fbaipublicfiles.com/fasttext/vectors-english/wiki-news-300d-1M.vec.zip \ + && mkdir -p /opt/ext_data \ + && unzip wiki-news-300d-1M.vec.zip -d /opt/ext_data \ + && rm -f wiki-news-300d-1M.vec.zip From 10a19693c50b67d7195ce69e976e280c73bd1d3f Mon Sep 17 00:00:00 2001 From: paridhimnnit Date: Thu, 4 Jul 2019 01:23:07 +0530 Subject: [PATCH 4/6] Create Dockerfile --- 3.6.8.fasttext/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 3.6.8.fasttext/Dockerfile diff --git a/3.6.8.fasttext/Dockerfile b/3.6.8.fasttext/Dockerfile new file mode 100644 index 0000000..f01b9b8 --- /dev/null +++ b/3.6.8.fasttext/Dockerfile @@ -0,0 +1,21 @@ +# Use an official centos7 image +FROM centos:7 + +MAINTAINER paridhi "paridhi.shukla@phenompeople.com" + +RUN yum update -y \ + && yum install -y https://centos7.iuscommunity.org/ius-release.rpm \ + && yum install -y python36u python36u-libs python36u-devel python36u-pip \ + && yum groupinstall -y 'development tools' \ + && yum install -y wget gcc libffi-devel python-devel openssl-devel libev-devel + +# setting proper alias for python3 and pip3 and setting basic packages +RUN ln -s /usr/bin/pip3.6 /bin/pip3 && ln -s /usr/bin/python3.6 /usr/bin/python3 \ + && pip3 install --upgrade pip && pip3 install spacy && pip3 install -U setuptools \ + && python3 -m spacy download en + +# downloading embedding file and saving to appropriate path +RUN wget https://dl.fbaipublicfiles.com/fasttext/vectors-english/wiki-news-300d-1M.vec.zip \ + && mkdir -p /opt/ext_data \ + && unzip wiki-news-300d-1M.vec.zip -d /opt/ext_data \ + && rm -f wiki-news-300d-1M.vec.zip From 577ff5a8c438f62f972e31946ec879f01de6d26d Mon Sep 17 00:00:00 2001 From: paridhimnnit Date: Thu, 4 Jul 2019 01:23:31 +0530 Subject: [PATCH 5/6] Delete 3.6.8-fasttext --- 3.6.8-fasttext | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 3.6.8-fasttext diff --git a/3.6.8-fasttext b/3.6.8-fasttext deleted file mode 100644 index f01b9b8..0000000 --- a/3.6.8-fasttext +++ /dev/null @@ -1,21 +0,0 @@ -# Use an official centos7 image -FROM centos:7 - -MAINTAINER paridhi "paridhi.shukla@phenompeople.com" - -RUN yum update -y \ - && yum install -y https://centos7.iuscommunity.org/ius-release.rpm \ - && yum install -y python36u python36u-libs python36u-devel python36u-pip \ - && yum groupinstall -y 'development tools' \ - && yum install -y wget gcc libffi-devel python-devel openssl-devel libev-devel - -# setting proper alias for python3 and pip3 and setting basic packages -RUN ln -s /usr/bin/pip3.6 /bin/pip3 && ln -s /usr/bin/python3.6 /usr/bin/python3 \ - && pip3 install --upgrade pip && pip3 install spacy && pip3 install -U setuptools \ - && python3 -m spacy download en - -# downloading embedding file and saving to appropriate path -RUN wget https://dl.fbaipublicfiles.com/fasttext/vectors-english/wiki-news-300d-1M.vec.zip \ - && mkdir -p /opt/ext_data \ - && unzip wiki-news-300d-1M.vec.zip -d /opt/ext_data \ - && rm -f wiki-news-300d-1M.vec.zip From eac220669fbd7a4ada365381e84cc48a1d0d1c4d Mon Sep 17 00:00:00 2001 From: paridhimnnit Date: Thu, 4 Jul 2019 01:23:42 +0530 Subject: [PATCH 6/6] Delete Dockerfile --- Dockerfile | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index f01b9b8..0000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# Use an official centos7 image -FROM centos:7 - -MAINTAINER paridhi "paridhi.shukla@phenompeople.com" - -RUN yum update -y \ - && yum install -y https://centos7.iuscommunity.org/ius-release.rpm \ - && yum install -y python36u python36u-libs python36u-devel python36u-pip \ - && yum groupinstall -y 'development tools' \ - && yum install -y wget gcc libffi-devel python-devel openssl-devel libev-devel - -# setting proper alias for python3 and pip3 and setting basic packages -RUN ln -s /usr/bin/pip3.6 /bin/pip3 && ln -s /usr/bin/python3.6 /usr/bin/python3 \ - && pip3 install --upgrade pip && pip3 install spacy && pip3 install -U setuptools \ - && python3 -m spacy download en - -# downloading embedding file and saving to appropriate path -RUN wget https://dl.fbaipublicfiles.com/fasttext/vectors-english/wiki-news-300d-1M.vec.zip \ - && mkdir -p /opt/ext_data \ - && unzip wiki-news-300d-1M.vec.zip -d /opt/ext_data \ - && rm -f wiki-news-300d-1M.vec.zip