preparing for demo

This commit is contained in:
anhefti 2019-08-23 13:21:59 +02:00
parent 744a9284a3
commit 20fe964a9f
2 changed files with 4 additions and 3 deletions

View file

@ -1,11 +1,12 @@
FROM alpine/git FROM alpine/git
ARG GIT_TAG
ARG SEBSERVER_VERSION ARG SEBSERVER_VERSION
WORKDIR /demo WORKDIR /demo
RUN if [ "x${SEBSERVER_VERSION}" = "x" ] ; \ RUN if [ "x${GIT_TAG}" = "x" ] ; \
then git clone --depth 1 https://github.com/SafeExamBrowser/seb-server.git ; \ then git clone --depth 1 https://github.com/SafeExamBrowser/seb-server.git ; \
else git clone -b "v$SEBSERVER_VERSION" --depth 1 https://github.com/SafeExamBrowser/seb-server.git ; fi else git clone -b "v$GIT_TAG" --depth 1 https://github.com/SafeExamBrowser/seb-server.git ; fi
FROM maven:3.5-jdk-8-alpine FROM maven:3.5-jdk-8-alpine

View file

@ -18,7 +18,7 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>
<sebserver-version>0.4.1</sebserver-version> <sebserver-version>0.4.1-beta</sebserver-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties> </properties>