diff options
author | Devaev Maxim <[email protected]> | 2020-10-17 02:32:06 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-17 02:32:06 +0300 |
commit | 751305828ee33d15ae101768896c9acbad6db286 (patch) | |
tree | a3ca93e2e2c3f69b23305477a2b955b43249135b | |
parent | 0d3f5f0acc4d5f9c771525efb4daf5a4403b763b (diff) |
use packages from the repo
-rw-r--r-- | testenv/Dockerfile | 20 | ||||
-rw-r--r-- | 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 |