From 4292cf8696a8a355bc1d9a9594e66a1963069f5f Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 10 Jul 2018 21:51:42 +0200 Subject: [PATCH] Run tests as root inside the container. --- .gitlab-ci.yml | 2 +- testing/Dockerfile | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b27eca..52cb1fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ --- -image: s3lph/matemat-ci:20180710-01 +image: s3lph/matemat-ci:20180710-02 stages: - test diff --git a/testing/Dockerfile b/testing/Dockerfile index 35e0ca2..3bf3604 100644 --- a/testing/Dockerfile +++ b/testing/Dockerfile @@ -1,11 +1,6 @@ FROM debian:buster -RUN useradd -d /home/matemat -m matemat RUN apt-get update -qy RUN apt-get install -y --no-install-recommends git docker.io python3-dev python3-pip python3-coverage python3-setuptools build-essential -RUN usermod -aG docker matemat RUN pip3 install wheel pycodestyle mypy - -WORKDIR /home/matemat -USER matemat