Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ccl_emo_stats
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
ccl_emo_stats
Commits
c92bb6f9
You need to sign in or sign up before continuing.
Commit
c92bb6f9
authored
5 years ago
by
MGniew
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile updated
parent
b647f2b4
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+7
-57
7 additions, 57 deletions
Dockerfile
requirements.txt
+2
-0
2 additions, 0 deletions
requirements.txt
with
29 additions
and
57 deletions
.gitlab-ci.yml
0 → 100644
+
20
−
0
View file @
c92bb6f9
stages
:
-
build
build_image
:
stage
:
build
image
:
docker:18.09.7
only
:
-
master
services
:
-
docker:18.09.7-dind
before_script
:
-
'
'
script
:
-
docker build -t clarinpl/ccl-emo-stats .
-
echo $DOCKER_PASSWORD > pass.txt
-
cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
-
rm pass.txt
-
docker push clarinpl/ccl-emo-stats
This diff is collapsed.
Click to expand it.
Dockerfile
+
7
−
57
View file @
c92bb6f9
FROM
clarinpl/python:
2.7
FROM
clarinpl/python:
3.6
#standard ubuntu packages
RUN
apt-get
-y
update
&&
\
apt-get
install
-y
apt-utils
&&
\
apt-get
install
-y
iputils-ping
&&
\
apt-get
install
-y
iputils-tracepath
&&
\
apt-get
install
-y
cmake
&&
\
apt-get
install
-y
build-essential
&&
\
apt-get
install
-y
libboost-all-dev
&&
\
apt-get
install
-y
swig
&&
\
apt-get
install
-y
software-properties-common python-software-properties
&&
\
apt-get
install
-y
nano mc zip unzip
&&
\
apt-get
install
-y
locales locales-all
&&
\
apt-get
install
-y
apt-transport-https
apt-get
install
-y
corpus2-python3.6
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
libicu-dev
\
libxml++2.6-dev
\
bison
\
flex
\
libloki-dev
\
libcppunit-dev
\
libantlr-dev
\
build-essential
\
autotools-dev
\
devscripts
\
acl
\
antlr
\
build-essential
\
libssl-dev
\
libffi-dev
\
libxml2-utils
# Create directiries structure
RUN
mkdir
-p
/samba/requests/ccl_emo_stats
RUN
mkdir
/home/work
RUN
mkdir
/home/install
RUN
mkdir
/worker
WORKDIR
/home/install
# Install dependencies
## CORPUS2
RUN
git clone https://gitlab.clarin-pl.eu/analysers/corpus2.git
&&
\
mkdir
corpus2/bin
&&
\
cd
corpus2/bin
&&
\
cmake ..
&&
\
make
&&
\
make
install
&&
\
ldconfig
## NLP_WS
RUN
svn co http://svn.clarin-pl.eu/svn/nlpservices/src/nlp_ws
&&
\
pip
install
-e
nlp_ws
# Install ccl_emo_stats and dependencies
RUN
pip
install
ccl_emo_stats
WORKDIR
/home/worker
COPY
ccl_emo_stats_worker.py .
COPY
requirements.txt .
RUN
pip
install
-r
requirements.txt
ENTRYPOINT
["python", "ccl_emo_stats_worker.py"]
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
2
−
0
View file @
c92bb6f9
ccl_emo_stats
nlp_ws
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment