ibm-functions / runtime-nodejs

IBM Cloud Functions NodeJS Runtime
Other
15 stars 18 forks source link

ibm_db brakes docker build #149

Closed csantanapr closed 6 years ago

csantanapr commented 6 years ago

The docker build is broken because a problem installing the ibm_db npm package

Errors in travis

> ibm_db@2.4.1 install /node_modules/ibm_db
> node installer/driverInstall.js
Downloading DB2 ODBC CLI Driver from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz...
100.00% | 536 bytes downloaded out of 536 bytes.{ Error: incorrect header check
    at Gunzip.zlibOnError (zlib.js:153:15) errno: -3, code: 'Z_DATA_ERROR' }
npm WARN marked-terminal@2.0.0 requires a peer of marked@^0.3.6 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ibm_db@2.4.1 install: `node installer/driverInstall.js`
npm ERR! Exit status 1
csantanapr commented 6 years ago

This was fixed, the tar was not available for download.