From 20fe964a9fe24a7eff67d484caae8fb8dab230dc Mon Sep 17 00:00:00 2001 From: anhefti Date: Fri, 23 Aug 2019 13:21:59 +0200 Subject: [PATCH] preparing for demo --- docker/demo/Dockerfile | 5 +++-- pom.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/demo/Dockerfile b/docker/demo/Dockerfile index ff5d69c5..7ff44b19 100644 --- a/docker/demo/Dockerfile +++ b/docker/demo/Dockerfile @@ -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 diff --git a/pom.xml b/pom.xml index f20964a4..f873ad42 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ jar - 0.4.1 + 0.4.1-beta UTF-8 UTF-8