-
Notifications
You must be signed in to change notification settings - Fork 331
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
Showing
10 changed files
with
205 additions
and
29 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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM centos:7 | ||
|
||
RUN yum install --assumeyes gcc-c++ python3 python3-devel python3-pip java-1.8.0-openjdk-devel make diffutils | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install konlpy | ||
|
||
RUN yum install --assumeyes curl git | ||
RUN curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh | bash | ||
|
||
RUN yum install --assumeyes git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN python3 -m pip install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM centos:8 | ||
|
||
RUN yum install --assumeyes gcc-c++ python3 python3-devel python3-pip java-1.8.0-openjdk-devel make diffutils | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install konlpy | ||
|
||
RUN yum install --assumeyes curl git | ||
RUN curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh | bash | ||
|
||
RUN yum install --assumeyes git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN python3 -m pip install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:bionic | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y g++ openjdk-8-jdk python3-dev python3-pip | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install konlpy | ||
|
||
RUN apt-get install -y curl git | ||
RUN curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh | bash | ||
|
||
RUN apt-get install -y git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN python3 -m pip install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:disco | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y g++ openjdk-8-jdk python3-dev python3-pip | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install konlpy | ||
|
||
RUN apt-get install -y curl git | ||
RUN curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh | bash | ||
|
||
RUN apt-get install -y git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN python3 -m pip install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:eoan | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y g++ openjdk-8-jdk python3-dev python3-pip | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install konlpy | ||
|
||
RUN apt-get install -y curl git | ||
RUN curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh | bash | ||
|
||
RUN apt-get install -y git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN python3 -m pip install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:xenial | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y g++ openjdk-8-jdk python3-dev python3-pip | ||
RUN python3 -m pip install --upgrade pip | ||
RUN pip3 install konlpy | ||
|
||
RUN apt-get install -y curl git | ||
RUN curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh | bash | ||
|
||
RUN apt-get install -y git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN pip3 install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM ubuntu:xenial | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y g++ openjdk-8-jdk python3-dev python3-pip | ||
RUN pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ konlpy==0.5.2-rc.2 | ||
|
||
RUN apt-get install -y curl git | ||
RUN curl -s https://raw.githubusercontent.com/minhoryang/konlpy/issues/271/scripts/mecab.sh | bash | ||
|
||
RUN apt-get install -y git | ||
RUN git clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
RUN git checkout master | ||
RUN pip3 install -r requirements-dev.txt | ||
CMD python3 -m pytest -v . |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM mcr.microsoft.com/windows:1809 | ||
|
||
# Install Chocolatey | ||
RUN @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | ||
|
||
# New Powershell, so choco is available | ||
SHELL ["powershell"] | ||
|
||
# Choco disable upload progress | ||
RUN choco feature disable --name showDownloadProgress | ||
|
||
# python 3. | ||
RUN choco install -y python3 | ||
RUN py -m pip install --upgrade pip | ||
|
||
# Jpype requires: (and respect caching) | ||
RUN choco install -y vcbuildtools # XXX: so long... | ||
RUN choco install -y adoptopenjdk11 --version 11.0.5.10 # XXX: version fixed for JAVA_HOME. | ||
ENV JAVA_HOME "C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.5.10-hotspot" | ||
|
||
# TestEnv | ||
RUN choco install -y git.install | ||
RUN & 'C:\Program Files\Git\bin\git.exe' clone https://github.com/konlpy/konlpy konlpy.git | ||
WORKDIR konlpy.git | ||
|
||
RUN & 'C:\Program Files\Git\bin\git.exe' checkout master | ||
RUN py -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ konlpy==0.5.2-rc.2 | ||
RUN py -m pip install -r .\requirements-dev.txt | ||
CMD py -m pytest -v . |
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