Report this

What is the reason for this report?

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

Posted on November 18, 2020

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!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.