OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to change Airflow docker image?

  • Thread starter Thread starter John Doe
  • Start date Start date
J

John Doe

Guest
I got working Airflow image.

But I need add new Python library to Airflow.

I got "/opt/beget/airflow/docker-compose.yml". enter image description here

I create file Dockerfile in same folder with code:

Code:
FROM apache/airflow
RUN pip install clickhouse-connect

So I need edit current image apache/airflow. there's my images (docker images): enter image description here

All I need to edit current Airflow image.

P.S. I using:

Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-107-generic x86_64)

Docker version 26.1.3, build b72abbb
<p>I got working Airflow image.</p>
<p>But I need add new Python library to Airflow.</p>
<p>I got "/opt/beget/airflow/docker-compose.yml".
<a href="https://i.sstatic.net/ZLfzdJ1m.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ZLfzdJ1m.png" alt="enter image description here" /></a></p>
<p>I create file Dockerfile in same folder with code:</p>
<pre><code>FROM apache/airflow
RUN pip install clickhouse-connect
</code></pre>
<p>So I need edit current image apache/airflow.
there's my images (docker images):
<a href="https://i.sstatic.net/lziUEw9F.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lziUEw9F.png" alt="enter image description here" /></a></p>
<p>All I need to edit current Airflow image.</p>
<p>P.S. I using:</p>
<blockquote>
<p>Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-107-generic x86_64)</p>
<p>Docker version 26.1.3, build b72abbb</p>
</blockquote>
 

Latest posts

Top