Can't install packages

Hello,

Does Netlify support package/software installation on top of default Ubuntu Xenial 16.04 ?
For example, I want to run docker commands from within Netlify, and I see that Docker isn’t installed by default. However, I can’t install Docker, since sudo isn’t recognized and I can’t install it as unprivileged user.

12:13:07 AM: ────────────────────────────────────────────────────────────────
12:13:07 AM: 1. build.command from netlify.toml
12:13:07 AM: ────────────────────────────────────────────────────────────────
12:13:07 AM: ​
12:13:07 AM: $ sudo ./hack/install_docker.sh
12:13:07 AM: bash: sudo: command not found
12:13:07 AM: ​
12:13:07 AM: ────────────────────────────────────────────────────────────────
12:13:07 AM: “build.command” failed
12:13:07 AM: ────────────────────────────────────────────────────────────────

Hi, @fmuyassarov. It is not possible to use Docker or to install additional Ubuntu packages in the build image.

If there are other questions or concerns, please let us know.

1 Like