Compile Native Libraries for Your Application

When you deploy your application, it runs in a Docker container, which comes from an Oracle or Docker Hub image source. If your application has native libraries, those libraries must be compiled on a system that runs on Oracle Linux or a compatible distribution before the application can be deployed.

If your Node.js application only includes JavaScript .js files and no native libraries, or if your Java application uses no native libraries, then you can skip this section.

You can build the libraries on your own system if it runs Oracle Linux or a compatible distribution. You can also build your libraries on Oracle Developer Cloud Service. An entitlement for it is included with your subscription. For details about builds, see Managing Project Jobs and Builds in Oracle Developer Cloud Service in Using Oracle Developer Cloud Service.

You don’t need to compile the Oracle node-oracledb driver, it shouldn’t be included in the local node_modules folder that is included in the application archive. The driver is provided in the Oracle Application Container Cloud Service Node Docker image.

To learn more about the Docker image sources, see Docker Images.