summaryrefslogtreecommitdiff
path: root/testenv/Dockerfile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-03-07 15:32:24 +0300
committerDevaev Maxim <[email protected]>2021-03-07 15:32:24 +0300
commit99a6e1644abf37c77b3887f9fcd13857daed3105 (patch)
treefaa723c758ee056560dfd200a480a80a7b29bbdc /testenv/Dockerfile
parentb5b94217bc55c11e52905b30e99c50fcbb669797 (diff)
npm workaround
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r--testenv/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index 498d8c56..55101a35 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -45,9 +45,12 @@ RUN pacman -Syu --noconfirm \
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt
+# https://stackoverflow.com/questions/57534295
+WORKDIR /root
RUN npm install htmlhint -g \
&& npm install pug \
&& npm install pug-cli -g
+WORKDIR /
ARG LIBGPIOD_VERSION
ENV LIBGPIOD_PKG libgpiod-$LIBGPIOD_VERSION