We are currently trying to migrate from Dockerfile deployment to direct Docker image deployment and in order to run the aptible deploy
command we need to install the Aptible CLI on Circle CI.
Does anyone have any recommendations on how to do this?
We are currently trying to migrate from Dockerfile deployment to direct Docker image deployment and in order to run the aptible deploy
command we need to install the Aptible CLI on Circle CI.
Does anyone have any recommendations on how to do this?
Installing the CLI consists of two parts that you’ll need to add to your CI scripts:
wget
works well for this.Debian, for example, would look something like this:
PACKAGE_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
wget -O aptible-toolbelt.deb $PACKAGE_URL
dpkg -i aptible-toolbelt.deb