mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
build: update npm to v7 in Dockerfile and .gitlabci.yml
This commit is contained in:
parent
cfd29d84e6
commit
a162d6d08f
@ -26,9 +26,10 @@ before_script:
|
||||
- php composer-setup.php
|
||||
- php -r "unlink('composer-setup.php');"
|
||||
|
||||
# Install NodeJS for NPM
|
||||
# Install latest npm
|
||||
- curl -sL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
- apt-get update && apt-get install -y nodejs
|
||||
- npm install --global npm
|
||||
|
||||
# Install all php dependencies
|
||||
- php composer.phar install --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs
|
||||
|
13
Dockerfile
13
Dockerfile
@ -15,14 +15,13 @@ WORKDIR /castopod-host
|
||||
# Install composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
# Install npm
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
|
||||
# Install latest npm
|
||||
RUN apt-get update && \
|
||||
apt-get install -y nodejs
|
||||
|
||||
# update npm to latest version
|
||||
RUN npm install --global npm
|
||||
apt-get install -y --no-install-recommends gnupg && \
|
||||
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends nodejs && \
|
||||
npm install --global npm
|
||||
|
||||
# Install git + vim
|
||||
RUN apt-get update && \
|
||||
|
26118
package-lock.json
generated
26118
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user