fix nvm
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-03-16 11:30:08 +01:00
parent 039446ac9b
commit a3495bad37

View File

@@ -13,9 +13,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get -y update \
&& chmod +x /usr/local/bin/start-container \
&& echo "install nvm and node" \
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash \
&& bash $HOME/.nvm/nvm.sh \
&& if [ -z "$NODE_VERSION" ]; then NODE_VERSION="node"; fi \
&& nvm install $NODE_VERSION \
&& bash $HOME/.nvm/nvm.sh install $NODE_VERSION \
&& echo "install composer" \
&& curl -o composer-setup.php https://getcomposer.org/installer \
&& curl -o composer-setup.sig https://composer.github.io/installer.sig \