<p>I'm using Cloud composer to orchestrate my airflow instance but not sure how to install packages for the airflow worker bash.</p>

<p>Previously I was running airflow on a google compute engine instance using docker, it was easy to specify requirements via the docker make file.</p>

<p>As someone who is new to kubernetes and Cloud composer, I was wondering if there is something similar I could do for kubernetes/Cloud composer as I previously did for docker?</p>

<p>I looking to install <code>lzop</code> for unix and also would need to update the gsutil boto config file with s3 credentials.</p>

<p>How do you pull a new docker image into kubernetes and recreate it for pods? </p>

<p>Sorry if my lingo is incorrect, this is new to me</p>

D_usv
<p>At the moment, if I read the documentation correctly, you cannot modify the images used by Composer. Unless you deploy your custom solution on a Kubernetes cluster, I think you cannot extend it beyond Python Libraries and Airflow Plugins. </p>

<p>You can ssh into each worker Compute Engine instance and install it manually on each machine.</p>

<p>You may try to run <code>apt</code> it via <code>BashOperator</code>, but I doubt you will succeed; unfortunately, Composer is still a Beta product, and many features are still in the making.</p>
