Deploy an Application Including the GDAL Library

The GDAL library is often used in application needing to manipulate geospatial data. This page describes the steps to deploy an application on Scalingo which makes use of the GDAL library.

Install GDAL on a Scalingo Application

To install the GDAL library on a Scalingo application, you need to make use of the APT buildpack. Such a buildpack should be used as part of a multi-buildpack. For instance, if your application is developed using the Python programming language:

$ echo '' > .buildpacks
$ echo '' >> .buildpacks
$ git add .buildpacks
$ git commit -m 'Add multi-buildpack'

You need to instruct the APT buildpack to install the GDAL library. Create a Aptfile at the root of your project with the following content:


Last, set the following environment variables on your application:


Deploy your application, it is ready to use the GDAL library!

Suggest edits

Deploy an Application Including the GDAL Library

©2023 Scalingo