mserranom / bbrun

Run Bitbucket Pipelines locally
MIT License
208 stars 31 forks source link

Fails with alpine node:12 images #58

Open abdullateef97 opened 4 years ago

abdullateef97 commented 4 years ago

using node:12-alpine as my base image after running bbrun --pipeline branches:development I get the following error


  throw err;
  ^

Error: Cannot find module '/ws/bash'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
    at Function.Module._load (internal/modules/cjs/loader.js:864:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}```
ghost commented 3 years ago

I have the same issue on another image based on alpine, rastasheep/alpine-node-chromium:10-alpine. Perhaps because it doesn't have bash installed?