Add dependencies needed by build script?

Is there a way to add a dependency that is needed by my build script for a pages deploy?

In my case, it is jq. Things I tried:
  • apt-get install jq
    • "E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?"
  • sudo apt-get install jq
    • "sudo: The "no new privileges" flag is set, which prevents sudo from running as root."
  • checked to see if it existed in one of the other canned build configs - the repo https://github.com/cloudflare/pages-build-image is empty.
GitHub
Contribute to cloudflare/pages-build-image development by creating an account on GitHub.
Was this page helpful?