Closed kilrau closed 3 years ago
I switched the xud PR to the latest grpc-tools 1.10.0 so we'd need to change this again since it's referencing 1.9.1 still. But wouldn't it make sense not to pin ourselves to a specific version? I figure we can use
sed
to remove the entire line containinggrpc-tools
?
Agree.
Or, better yet, why don't we add the
--production
flag tonpm install
so that we skip dev dependencies altogether? I don't believe we need them for docker purposes, it would solve the issue with arm and grpc-tools and it should overall make our docker builds faster and lighter.
I thought that it was needed for these steps:
npm run compile
npm run compile:seedutil
I thought that it was needed for these steps:
npm run compile npm run compile:seedutil
Maybe I'm mistaken but it looks like that only has a Go dependency, not any dependency on our devDependencies
. But the current change in this PR is fine, we can look into the --production
flag separately.
look into the --production flag separately
Please open an issue (or better PR) for that, otherwise it'll be forgotten
Depends on https://github.com/ExchangeUnion/xud/pull/1605#issuecomment-751610425.
xud image needs to be changed back to
latest
before merging.