Closed jonwrona closed 1 year ago
I've noticed that in the documentation you mention that this require python 2, not 3. Unfortunately Nextjs v13 requires at least Node 14.6.0, and python 2 is deprecated in the node:14-alpine
base image.
Also just to make sure I tried the build with python2 on node:12-alpine
, and it was successful.
Ah I missed in the documentation that Alpine is not supported. Does anyone have a recommendation for a base Docker image for Node?
@jonwrona You can use x64 version of linux docker. The amazonlinux OS in docker works fine for ibm_db. You can refer similar issue #633 where some solution is mentioned in last. Also, check this comment for working docker image: https://github.com/ibmdb/node-ibm_db/issues/803#issuecomment-1105911743 Thanks.
I'm having trouble getting the ibm_db package through its build stage when setting up a Dockerfile. Right now the build is failing at:
'node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME="$IBM_DB_HOME"
Below are my Dockerfile and the error output from the build. The Dockerfile is based on the Nextjs template.
Any guidance for how to get this build working is greatly appreciated.
Dockerfile
Build Error