mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Devcontainer node-gyp fix
This commit is contained in:
parent
47f6fee279
commit
e21b0674e3
1 changed files with 3 additions and 1 deletions
|
|
@ -126,7 +126,9 @@ RUN set -o xtrace \
|
|||
&& tar -xJf "node-v$NODE_VERSION-$ARCHITECTURE.tar.xz" -C /usr/local --strip-components=1 --no-same-owner \
|
||||
&& rm "node-v$NODE_VERSION-$ARCHITECTURE.tar.xz" SHASUMS256.txt.asc \
|
||||
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
|
||||
&& npm install -g npm@${NPM_VERSION}
|
||||
&& mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp /root/.node-gyp/${NODE_VERSION} /home/wekan/.config \
|
||||
&& npm install -g npm@${NPM_VERSION} \
|
||||
&& chown wekan:wekan --recursive /home/wekan/.config
|
||||
|
||||
ENV DEBIAN_FRONTEND=dialog
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue