Rewrite using one docker container

This commit is contained in:
Tim Schubert 2018-05-15 17:48:09 +02:00
parent 3b81958e12
commit 8a397c79ce
6 changed files with 325 additions and 110 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM alpine:latest
WORKDIR /app
ADD tubs_checks.xml .
ADD requirements.txt .
ENV JPLAG_VERSION=2.11.9-SNAPSHOT
RUN apk add --no-cache openjdk8 python3 curl git
RUN curl -sL https://github.com/jplag/jplag/releases/download/v${JPLAG_VERSION}/jplag-${JPLAG_VERSION}-jar-with-dependencies.jar -o jplag.jar
RUN pip3 install -r requirements.txt