astronomer/ap-airflow:1.10.14-buster-onbuild does not seem to have docker client installed and hence the step in CircleCI fails when it tries to run docker command. Is there an image where docker client is included or how to install it? Specifying setup_remote_docker does not help as I get the same error indicating docker command not found. Here is my sample yaml for circleci.
version: 2
jobs:
deploy:
docker:
- image: quay/astronomer/ap-airflow:1.10.14-buster
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Compile python dependencies
command: |
pip3 install pip-tools
pip3 install -r requirements.txt
- run:
name: Push to Docker Hub
command: |
TAG=0.1.$CIRCLE_BUILD_NUM
docker build -t registry.gcp0001.us-east4.astronomer.io/scientific-ion-3574/airflow:ci-$TAG .
docker login registry.gcp0001.us-east4.astronomer -u _ -p $SERVICE_ACCOUNT_KEY
docker push registry.gcp0001.us-east4.astronomer.io/scientific-ion-3574/airflow:ci-$TAG
workflows:
version: 2
build-deploy:
jobs:
- deploy:
filters:
branches:
only:
- master