summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
Diffstat (limited to 'testenv')
-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