aboutsummaryrefslogtreecommitdiffstats
path: root/docker/mts/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/mts/Dockerfile')
-rw-r--r--docker/mts/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/mts/Dockerfile b/docker/mts/Dockerfile
index eae61aab..ae32d8b8 100644
--- a/docker/mts/Dockerfile
+++ b/docker/mts/Dockerfile
@@ -7,6 +7,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
ENV NGN_JAVA_HOME=${JAVA_HOME}/bin
ENV MAVEN_OPTS=$MAVEN_OPTS
+USER root
COPY mts-installer.properties /src/mts-installer.properties
RUN case $(uname -m) in x86_64) \
apk --no-cache add --update openjdk8-jre && \
@@ -22,4 +23,5 @@ RUN case $(uname -m) in x86_64) \
rm -rf /root/.m2/ ${APP_FOLDER}/tutorial /src/mts-installer.properties /src/git-mts && \
apk del .build-deps;; esac
COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml
+USER xtesting
CMD ["run_tests", "-t", "all"]