Commit 8fec8fde authored by Tomasz Walkowiak's avatar Tomasz Walkowiak

Merge origin/master

parents 02fe7631 213505f5
Pipeline #561 passed with stage
in 2 minutes and 26 seconds
image: clarinpl/python:3.6
cache:
paths:
- .tox
stages:
- build
before_script:
- pip install tox==2.9.1
build_image:
stage: build
image: docker:18.09.7
only:
- master
services:
- docker:18.09.7-dind
before_script:
- ''
script:
- docker build -t clarinpl/converter .
- echo $DOCKER_PASSWORD > pass.txt
- cat pass.txt | docker login --username $DOCKER_USERNAME --password-stdin
- rm pass.txt
- docker push clarinpl/converter
......@@ -5,11 +5,7 @@ LABEL description="Client - Workers - converting any files into txt format"
LABEL organiztation="NLP Tools for Polish from G4.19 Group - Wroclaw University of Science and Technology"
LABEL maintainer="tomasz.walkowiak@pwr.edu.pl"
WORKDIR /home/install
RUN git clone https://gitlab.clarin-pl.eu/nlpworkers/nlp.worker.git && \
cd nlp.worker && \
mvn clean && \
mvn install
WORKDIR /home/install
COPY ./module ./module
......@@ -22,3 +18,5 @@ FROM clarinpl/openjdk-jre:8
WORKDIR /home/worker
COPY --from=builder /home/install/module/target/nlp.worker.converter.jar .
CMD ["java", "-jar", "nlp.worker.converter.jar"]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment