You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building lightweight docker images, musl prebuilds are commonly unavailable, which triggers a node-gyp rebuild.
To speed up CI/CD flow, I would like to prebuild locally, store that in docker layer cache, then have prebuild-install to use that local prebuild as the "download" source for a subsequent npm ci.
Right now it seems that leveldown_binary_host (for example) does not support the file:// protocol (which might be a neat way to support this feature), and I'm left with either tricking prebuild-install into believing it already downloaded an unpublished prebuild, or serving the prebuild over HTTP.
Happy to contribute a PR.
The text was updated successfully, but these errors were encountered:
Similar to this idea: mapbox/node-pre-gyp#101
When building lightweight docker images, musl prebuilds are commonly unavailable, which triggers a
node-gyp rebuild
.To speed up CI/CD flow, I would like to prebuild locally, store that in docker layer cache, then have prebuild-install to use that local prebuild as the "download" source for a subsequent
npm ci
.Right now it seems that
leveldown_binary_host
(for example) does not support thefile://
protocol (which might be a neat way to support this feature), and I'm left with either tricking prebuild-install into believing it already downloaded an unpublished prebuild, or serving the prebuild over HTTP.Happy to contribute a PR.
The text was updated successfully, but these errors were encountered: