Closed repomike closed 1 month ago
Issue could be related to RHEL and podman
s extra permissions on selinux:
-rwxr-xr-x. 1 root root system_u:object_r:container_file_t:s0:c530,c693 90900480 Mar 5 2023 /usr/local/bin/node
vs. docker
:
-rwxr-xr-x 1 root root ? 90900480 Mar 5 2023 /usr/local/bin/node
@repomike If execSync() function can't execute make command, then its problem with child_process
package and execSync() is part of child_process and ibm_db uses it as an dependency. Are you able to call execSync using a sample nodejs program? Thanks.
@repomike Any update about this issue? Are you able to call execSync using a sample nodejs program? Thanks.
I was able to use the emulator to build and run locally.
$ arch -x86_64
on my mac puts me into a new shell where i can issue the npm install
@repomike So, finally issue got resolved?
I would say so. thanks
Closing the issue now. Thanks.
Please provide below information while opening an issue to understand your problem
registry.access.redhat.com/ubi8/nodejs-20:1-38.1712567745
ibm_db
version3.2.4
Please provide below problem specific info:
========================================= We recently switched from
docker
topodman
and trying to build an image for our application based on the RHEL node.js image fails to installibm_db
. The build just hangs on driverInstall.js.I can verify that a node app builds and runs without
ibm_db
but we think we've narrowed it down to theexec
statement in thedriverInstall.js
file that can't issue themake
command to get the version.