mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-08 17:42:56 +01:00
Use new syntax for installing global NPM deps
This commit is contained in:
parent
fd1d2f6191
commit
9d981827ac
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ FROM node:16.16-alpine3.16
|
|||
RUN apk update \
|
||||
&& apk add --no-cache git
|
||||
|
||||
RUN npm install --global apollo@2.33.9
|
||||
RUN npm install --location=global npm \
|
||||
&& npm install --location=global apollo@2.33.9
|
||||
|
||||
ENTRYPOINT ["apollo"]
|
||||
CMD ["--help"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue