feluelle edited a comment on issue #8215: Fix breeze building production image 
not recognizing EXTRA_DOCKER_PROD_BUILD_FLAGS
URL: https://github.com/apache/airflow/pull/8215#issuecomment-611468591
 
 
   _With breeze code from latest master_
   
   1. `./breeze build-image --production-image`
   ```
   Successfully built b800f3edf319
   Successfully tagged apache/airflow:master-python3.7
   
      Use production image.
   
      Branch name:             master
      Docker image:            apache/airflow:master-python3.7
   
      Airflow source version:  2.0.0.dev0
      Python version:          3.7
      DockerHub user:          apache
      DockerHub repo:          airflow
      Backend:                 postgres 9.6
   ```
   2. `./breeze --production-image`
   ```
                                  Use production image.
   
                                  Branch name:            master
                                  Docker image:           
apache/airflow:master-python3.7
                                  Airflow source version: 2.0.0.dev0
                                  Python version:         3.7
                                  DockerHub user:         apache
                                  DockerHub repo:         airflow
                                  Backend:                postgres 9.6
   ```
   3. `airflow version`
   ```
   2.0.0.dev0
   ```
   4. `./breeze build-image --production-image 
--install-airflow-version=1.10.10rc4`
   ```
   Successfully built d9a8ea5a24b4
   Successfully tagged apache/airflow:master-python3.7
   
      Use production image.
   
      Branch name:             master
      Docker image:            apache/airflow:master-python3.7
   
      Airflow source version:  1.10.10rc4
      Python version:          3.7
      DockerHub user:          apache
      DockerHub repo:          airflow
      Backend:                 postgres 9.6
   
      Airflow installed from: 1.10.10rc4
   ```
   5. `./breeze --production-image`
   ```
                                  Use production image.
   
                                  Branch name:            master
                                  Docker image:           
apache/airflow:master-python3.7
                                  Airflow source version: 2.0.0.dev0
                                  Python version:         3.7
                                  DockerHub user:         apache
                                  DockerHub repo:         airflow
                                  Backend:                postgres 9.6
   ```
   6. `airflow version`
   ```
   2.0.0.dev0
   ```
   
   I see the following during point 4.:
   ```
    ---> Running in ef19eaafa0e2
   + pip install --user 
'.[async,aws,azure,celery,dask,elasticsearch,gcp,kubernetes,mysql,postgres,redis,slack,ssh,statsd,virtualenv]'
 --constraint /requirements.txt
   ```
   The version is missing there.
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to