npm workaround

This commit is contained in:
Devaev Maxim 2021-03-07 15:32:24 +03:00
parent b5b94217bc
commit 99a6e1644a

View File

@ -45,9 +45,12 @@ RUN pacman -Syu --noconfirm \
COPY testenv/requirements.txt requirements.txt COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
# https://stackoverflow.com/questions/57534295
WORKDIR /root
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
WORKDIR /
ARG LIBGPIOD_VERSION ARG LIBGPIOD_VERSION
ENV LIBGPIOD_PKG libgpiod-$LIBGPIOD_VERSION ENV LIBGPIOD_PKG libgpiod-$LIBGPIOD_VERSION