diff options
author | Devaev Maxim <[email protected]> | 2021-03-07 15:32:24 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-03-07 15:32:24 +0300 |
commit | 99a6e1644abf37c77b3887f9fcd13857daed3105 (patch) | |
tree | faa723c758ee056560dfd200a480a80a7b29bbdc /testenv | |
parent | b5b94217bc55c11e52905b30e99c50fcbb669797 (diff) |
npm workaround
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/Dockerfile | 3 |
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 |