mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
we must only install nodejs, check if npm was contained and install it, if not
otherwise apt shows a conflict but returns success :(
This commit is contained in:
parent
7af6c40d17
commit
590878c4e7
@ -54,7 +54,9 @@ RUN apt-get update \
|
||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||
&& apt-get update \
|
||||
# install tools to build EGroupware
|
||||
&& apt-get install -y rsync nodejs npm zip curl sudo cron patch \
|
||||
&& apt-get install -y rsync nodejs zip curl sudo cron patch \
|
||||
# nodejs PPA does NOT exist for ppc64le, therefore we need to install npm separate, as not included in stock nodejs on Ubuntu
|
||||
&& test -f /usr/bin/npm || apt-get install -y npm \
|
||||
&& npm install -g grunt-cli \
|
||||
&& bash -c \
|
||||
'EXPECTED_SIGNATURE=$(curl https://composer.github.io/installer.sig); \
|
||||
|
@ -85,7 +85,9 @@ RUN set -e \
|
||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y nodejs npm \
|
||||
&& apt-get install -y nodejs \
|
||||
# nodejs PPA does NOT exist for ppc64le, therefore we need to install npm separate, as not included in stock nodejs on Ubuntu
|
||||
&& test -f /usr/bin/npm || apt-get install -y npm \
|
||||
&& npm install -g grunt-cli \
|
||||
&& npm install \
|
||||
&& grunt \
|
||||
|
Loading…
Reference in New Issue
Block a user