mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-06 19:40:42 -05:00
install yarn in Makefile
This commit is contained in:
@@ -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" \
|
||||
|
||||
@@ -45,6 +45,7 @@ yarn-build: node_modules
|
||||
|
||||
.PHONY: node_modules
|
||||
node_modules:
|
||||
npm install --global yarn
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
############ protobuf ############
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user