Back to All

My app requires a specific OS package. How do I install it?


Aptible Deploy is OS-agnostic, so installing an OS package is mainly a matter of updating your Dockerfile to install it using your OS package manager.

For example, if your app requires ImageMagick and you're using a Debian or Ubuntu based image, you'd add the following directive to your Dockerfile:

RUN apt-get update \
 && apt-get install -y imagemagick \
 && rm -rf /var/lib/apt/lists/*