grpc-js-xds: use local proto-loader, build proto-loader in interop Dockerfile

This commit is contained in:
Michael Lumish 2024-03-27 11:10:14 -07:00
parent 7b4509ec47
commit 7b74d51a6f
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@ FROM node:18-slim as build
WORKDIR /node/src/grpc-node WORKDIR /node/src/grpc-node
COPY . . COPY . .
WORKDIR /node/src/grpc-node/packages/proto-loader
RUN npm install
WORKDIR /node/src/grpc-node/packages/grpc-js WORKDIR /node/src/grpc-node/packages/grpc-js
RUN npm install RUN npm install
WORKDIR /node/src/grpc-node/packages/grpc-js-xds WORKDIR /node/src/grpc-node/packages/grpc-js-xds

View File

@ -33,6 +33,7 @@
"homepage": "https://github.com/grpc/grpc-node#readme", "homepage": "https://github.com/grpc/grpc-node#readme",
"devDependencies": { "devDependencies": {
"@grpc/grpc-js": "file:../grpc-js", "@grpc/grpc-js": "file:../grpc-js",
"@grpc/proto-loader": "file:../proto-loader",
"@types/gulp": "^4.0.6", "@types/gulp": "^4.0.6",
"@types/gulp-mocha": "0.0.32", "@types/gulp-mocha": "0.0.32",
"@types/mocha": "^5.2.6", "@types/mocha": "^5.2.6",