File tree 2 files changed +4
-23
lines changed
2 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,6 @@ RUN sed -ie "s|DEFAULT_URL = 'http://nltk.googlecode.com/svn/trunk/nltk_data/ind
35
35
RUN python3 -m nltk.downloader -d nltk_data dependency_treebank
36
36
RUN cat nltk_data/corpora/dependency_treebank/wsj_*.dp | grep -v "^$" > nltk_data/corpora/dependency_treebank/nltk-ptb.dp
37
37
38
- #RUN wget http://osmot.cs.cornell.edu/svm_light/current/svm_light.tar.gz -q
39
- #WORKDIR /svm_light
40
- #RUN tar xzf ../svm_light.tar.gz
41
- #RUN make
42
- #RUN cp svm_classify svm_learn /usr/bin
43
- #RUN rm -Rf /svm_light
44
-
45
38
WORKDIR /
46
39
COPY continuous_integration/svmtool.sh continuous_integration/svmtool-cpp.sh continuous_integration/qhttpserver.sh /
47
40
RUN /svmtool.sh $GITHUB_TOKEN
Original file line number Diff line number Diff line change @@ -33,23 +33,11 @@ RUN sed -ie "s|DEFAULT_URL = 'http://nltk.googlecode.com/svn/trunk/nltk_data/ind
33
33
RUN python3 -m nltk.downloader -d nltk_data dependency_treebank
34
34
RUN cat nltk_data/corpora/dependency_treebank/wsj_*.dp | grep -v "^$" > nltk_data/corpora/dependency_treebank/nltk-ptb.dp
35
35
36
- RUN wget http://osmot.cs.cornell.edu/svm_light/current/svm_light.tar.gz
37
- WORKDIR /svm_light
38
- RUN tar xzf ../svm_light.tar.gz
39
- RUN make
40
- RUN cp svm_classify svm_learn /usr/bin
41
- RUN rm -Rf /svm_light
42
-
43
- WORKDIR /
44
- RUN curl -vLJ -H 'Accept: application/octet-stream' $(curl -s https://api.github.com/repos/aymara/SVMTool/releases/latest?access_token=$GITHUB_TOKEN | grep browser_download_url |grep '.tgz"' | head -n 1 | cut -d '"' -f 4)?access_token=$GITHUB_TOKEN | tar xvz
45
- WORKDIR /SVMTool-1.3.1
46
- RUN perl Makefile.PL && make && make install
47
-
48
36
WORKDIR /
49
- RUN TEMP_DEB="$(mktemp)" && curl -vLJ -H 'Accept: application/octet-stream' $(curl -s https://api.github.com/repos/aymara/ qhttpserver/releases/latest?access_token=$GITHUB_TOKEN | grep browser_download_url | grep ubuntu18 | grep '.deb"' | head -n 1 | cut -d '"' -f 4)?access_token=$GITHUB_TOKEN -o "$TEMP_DEB" && dpkg -i "$TEMP_DEB"
50
-
51
-
52
- RUN TEMP_DEB="$(mktemp)" && curl -vLJ -H 'Accept: application/octet-stream' $(curl -s https://api.github.com/repos/aymara/svmtool-cpp/releases/latest?access_token=$GITHUB_TOKEN | grep browser_download_url | grep ubuntu18 | grep '.deb"' | head -n 1 | cut -d '"' -f 4)?access_token= $GITHUB_TOKEN -o "$TEMP_DEB" && dpkg -i "$TEMP_DEB"
37
+ COPY continuous_integration/svmtool.sh continuous_integration/svmtool-cpp.sh continuous_integration/ qhttpserver.sh /
38
+ RUN /svmtool.sh $GITHUB_TOKEN
39
+ RUN /svmtool-cpp.sh $GITHUB_TOKEN
40
+ RUN /qhttpserver.sh $GITHUB_TOKEN
53
41
54
42
RUN mkdir -p /src/
55
43
RUN git clone --branch=$BRANCH --recurse-submodules https://${GITHUB_TOKEN}@github.com/aymara/lima /src/lima
You can’t perform that action at this time.
0 commit comments