vmui: configure npm cache path to resolve EACCES issues on macOS. (#5928)

This commit is contained in:
Yury Molodov 2024-03-06 13:06:41 +01:00 committed by GitHub
parent 5b42f15ccc
commit 76a6f806ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,8 @@
FROM node:18-alpine3.17
# Sets a custom location for the npm cache, preventing access errors in system directories
ENV NPM_CONFIG_CACHE=/build/.npm
RUN apk update && apk upgrade
RUN apk add --no-cache bash bash-doc bash-completion libtool autoconf automake nasm pkgconfig libpng gcc make g++ zlib-dev gawk