fix(core): update
This commit is contained in:
parent
9f2d8ca700
commit
dd40629f09
@ -3,7 +3,7 @@ LABEL author="Lossless GmbH <hello@lossless.com>"
|
|||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
# important environment variables
|
# important environment variables
|
||||||
ENV NODE_VERSION_LTS="16.1.0" NODE_VERSION_STABLE="16.1.0" NVM_DIR="/usr/local/nvm"
|
ENV NODE_VERSION_LTS="14.16.1" NODE_VERSION_STABLE="16.1.0" NVM_DIR="/usr/local/nvm"
|
||||||
|
|
||||||
# Set debconf to run non-interactively and install packages
|
# Set debconf to run non-interactively and install packages
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||||
|
@ -6,6 +6,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
|
|||||||
&& nvm alias default $NODE_VERSION_LTS \
|
&& nvm alias default $NODE_VERSION_LTS \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
&& npm config set unsafe-perm true \
|
&& npm config set unsafe-perm true \
|
||||||
|
&& npm install -g agentkeepalive \
|
||||||
&& npm install -g npm"
|
&& npm install -g npm"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
|
||||||
|
@ -6,6 +6,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
|
|||||||
&& nvm alias default $NODE_VERSION_STABLE \
|
&& nvm alias default $NODE_VERSION_STABLE \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
&& npm config set unsafe-perm true \
|
&& npm config set unsafe-perm true \
|
||||||
|
&& npm install -g agentkeepalive \
|
||||||
&& npm install -g npm"
|
&& npm install -g npm"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
||||||
|
Loading…
Reference in New Issue
Block a user