From 751305828ee33d15ae101768896c9acbad6db286 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 17 Oct 2020 02:32:06 +0300 Subject: [PATCH] use packages from the repo --- testenv/Dockerfile | 20 +++++++++++++++----- testenv/requirements.txt | 11 ----------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/testenv/Dockerfile b/testenv/Dockerfile index 87ed5f8f..464005db 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -18,10 +18,20 @@ RUN pacman -Syu --noconfirm \ python \ python-pip \ python-tox \ + python-mako \ + python-yaml \ + python-aiohttp \ + python-aiofiles \ + python-passlib \ + python-pyserial \ + python-setproctitle \ + python-psutil \ python-systemd \ python-dbus \ - python-psutil \ - python-mako \ + python-pygments \ + python-pam \ + python-pillow \ + python-xlib \ python-hidapi \ nginx-mainline \ socat \ @@ -29,6 +39,9 @@ RUN pacman -Syu --noconfirm \ npm \ && (pacman -Sc --noconfirm || true) +COPY testenv/requirements.txt requirements.txt +RUN pip install -r requirements.txt + RUN npm install htmlhint -g \ && npm install pug \ && npm install pug-cli -g @@ -54,9 +67,6 @@ RUN git clone https://github.com/pikvm/ustreamer \ && cd - \ && rm -rf ustreamer -COPY testenv/requirements.txt requirements.txt -RUN pip install -r requirements.txt - RUN mkdir -p \ /etc/kvmd/nginx \ /var/lib/kvmd/msd/{images,meta} \ diff --git a/testenv/requirements.txt b/testenv/requirements.txt index c61cac61..bde383b7 100644 --- a/testenv/requirements.txt +++ b/testenv/requirements.txt @@ -1,12 +1 @@ -six -aiohttp -aiofiles -passlib -pyyaml -pyserial -setproctitle -pygments pyghmi -python-pam -Pillow -python-xlib