How do I install Aptible CLI in a Docker image?

Hello, we are trying to install aptible-cli from our Dockerfile so we can use it alongside supercronic to perform scaling commands. I wasn’t able to find a clear way to add it to our image from aptible docs. Please advise on how to do so.

The Aptible CLI can be installed by downloading the appropriate package for your Linux distribution and installing it using the distro’s package manager. The download links for all supported packages can be found on the Aptible CLI documentation page.

For images based on Debian, for example, the following Dockerfile commands can be used to install the CLI:

ENV APTIBLE_CLI_URL "https://omnibus-aptible-toolbelt.s3.amazonaws.com/aptible/omnibus-aptible-toolbelt/master/251/pkg/aptible-toolbelt_0.19.1%2B20210802230322~debian.8.10-1_amd64.deb"
RUN wget -O aptible-cli.deb "$APTIBLE_CLI_URL"
RUN dpkg -i aptible-cli.deb