preparing for demo
This commit is contained in:
parent
744a9284a3
commit
20fe964a9f
2 changed files with 4 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
|||
FROM alpine/git
|
||||
|
||||
ARG GIT_TAG
|
||||
ARG SEBSERVER_VERSION
|
||||
|
||||
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 ; \
|
||||
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
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -18,7 +18,7 @@
|
|||
<packaging>jar</packaging>
|
||||
|
||||
<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.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
|
Loading…
Reference in a new issue