Run tests as root inside the container.
This commit is contained in:
parent
9988ed4ef0
commit
4292cf8696
2 changed files with 1 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
image: s3lph/matemat-ci:20180710-01
|
image: s3lph/matemat-ci:20180710-02
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
|
|
||||||
FROM debian:buster
|
FROM debian:buster
|
||||||
|
|
||||||
RUN useradd -d /home/matemat -m matemat
|
|
||||||
RUN apt-get update -qy
|
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 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
|
RUN pip3 install wheel pycodestyle mypy
|
||||||
|
|
||||||
WORKDIR /home/matemat
|
|
||||||
USER matemat
|
|
||||||
|
|
Loading…
Reference in a new issue