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