use packages from the repo

This commit is contained in:
Devaev Maxim 2020-10-17 02:32:06 +03:00
parent 0d3f5f0acc
commit 751305828e
2 changed files with 15 additions and 16 deletions

View File

@ -18,10 +18,20 @@ RUN pacman -Syu --noconfirm \
python \ python \
python-pip \ python-pip \
python-tox \ python-tox \
python-mako \
python-yaml \
python-aiohttp \
python-aiofiles \
python-passlib \
python-pyserial \
python-setproctitle \
python-psutil \
python-systemd \ python-systemd \
python-dbus \ python-dbus \
python-psutil \ python-pygments \
python-mako \ python-pam \
python-pillow \
python-xlib \
python-hidapi \ python-hidapi \
nginx-mainline \ nginx-mainline \
socat \ socat \
@ -29,6 +39,9 @@ RUN pacman -Syu --noconfirm \
npm \ npm \
&& (pacman -Sc --noconfirm || true) && (pacman -Sc --noconfirm || true)
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt
RUN npm install htmlhint -g \ RUN npm install htmlhint -g \
&& npm install pug \ && npm install pug \
&& npm install pug-cli -g && npm install pug-cli -g
@ -54,9 +67,6 @@ RUN git clone https://github.com/pikvm/ustreamer \
&& cd - \ && cd - \
&& rm -rf ustreamer && rm -rf ustreamer
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt
RUN mkdir -p \ RUN mkdir -p \
/etc/kvmd/nginx \ /etc/kvmd/nginx \
/var/lib/kvmd/msd/{images,meta} \ /var/lib/kvmd/msd/{images,meta} \

View File

@ -1,12 +1 @@
six
aiohttp
aiofiles
passlib
pyyaml
pyserial
setproctitle
pygments
pyghmi pyghmi
python-pam
Pillow
python-xlib