Question

Is there a system-level package manager for Node instances on the App Platform?

Posted November 18, 2020 103 views
Node.js

I am attempting to deploy a Node app on the App Platform (the jQuery UI download builder at https://github.com/jquery/download.jqueryui.com).

The app requires a system library to be installed, xsltproc. I’ve attempted adding sudo apt install xsltproc as a build command, though it fails for lack of privileges.

My goal is to keep the environment as minimal and standard as possible, to reduce ongoing maintenance. Is there a correct way to do this?

Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Unfortunately there isn’t a way to install system packages in the build process. The best option here is to use a Dockerfile which gives you complete control over the build environment.

Submit an Answer