By BrianWarner
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!
Accepted 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.