install yarn in Makefile

This commit is contained in:
jkoberg
2021-10-19 10:28:07 +02:00
parent d3b1d7efdb
commit e81138f1d3
4 changed files with 3 additions and 4 deletions
-4
View File
@@ -3,8 +3,6 @@ FROM owncloudci/golang:1.17 as build
RUN apk update && \
apk add --update npm
RUN npm install --global yarn
COPY ./ /ocis/
WORKDIR /ocis/ocis
@@ -20,8 +18,6 @@ RUN apk update && \
rm -rf /var/cache/apk/* && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
RUN npm install --global yarn
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.name="ownCloud Infinite Scale" \
org.label-schema.vendor="ownCloud GmbH" \
+1
View File
@@ -45,6 +45,7 @@ yarn-build: node_modules
.PHONY: node_modules
node_modules:
npm install --global yarn
yarn install --frozen-lockfile
############ protobuf ############
+1
View File
@@ -27,6 +27,7 @@ ci-go-generate: pull-assets # CI runs ci-node-generate automatically before this
.PHONY: ci-node-generate
ci-node-generate:
npm install --global yarn
yarn install --frozen-lockfile
.PHONY: pull-assets
+1
View File
@@ -27,6 +27,7 @@ ci-go-generate: pull-assets # CI runs ci-node-generate automatically before this
.PHONY: ci-node-generate
ci-node-generate:
npm install --global yarn
yarn install --frozen-lockfile
WEB_ASSETS_VERSION = v4.3.0