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:

RUN wget -O aptible-cli.deb "$APTIBLE_CLI_URL"
RUN dpkg -i aptible-cli.deb