potiuk commented on issue #15495:
URL: https://github.com/apache/airflow/issues/15495#issuecomment-825721079


   FYI: This works:
   
   ```
   [jarek:~/tmp] 29s % cat Dockerfile 
   FROM apache/airflow:2.0.2-python3.8
   
   RUN pip3 install surveymonty==0.2.5
   
   
   [jarek:~/tmp] % docker build -t test .                           
   Sending build context to Docker daemon   38.4kB
   Step 1/2 : FROM apache/airflow:2.0.2-python3.8
    ---> 50c98ebd1c4b
   Step 2/2 : RUN pip3 install surveymonty==0.2.5
    ---> Using cache
    ---> 8afe77240fd9
   Successfully built 8afe77240fd9
   Successfully tagged test:latest
   [jarek:~/tmp] 3s % docker run -it test python
   Python 3.8.8 (default, Mar 27 2021, 03:01:29) 
   [GCC 8.3.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import surveymonty
   >>> 
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to