ccage-simp edited a comment on issue #14211:
URL: https://github.com/apache/airflow/issues/14211#issuecomment-778508323


   Ah, embarrassed to say I realized that I didn't have latest of master branch 
so did not have the constraint option yet. Thank you!
   
   Now it starts OK except for strange error about date option:
   ```
   *************** PRODUCTION IMAGE *************************
   
   Python version: 2.7
   
   Additional extras : aws, datadog, hdfs, jdbc, ssh, vertica
   Installs version of Airflow: 1.10.11 and skip mounting sources
   
   Constraints location: ./constraints-2.7.txt
   Build image
   
   date: illegal option -- -
   usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
               [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
   Sending build context to Docker daemon  35.99MB
   ...
   ```
   
   but ends with :
   ```
   ERROR: Could not open requirements file: [Errno 2] No such file or 
directory: './constraints-2.7.txt'
   ```
   
   OK, got it working by referencing constraints file from path 
`./docker-context-files/constraints-2.7.txt` which is accessible inside docker.
   
   - additional compatibility updates:
   apispec==2.0.2
   cachetools==3.1.1
   humanize==1.0.0
   natsort==6.2.1
   numpy==1.16.6
   pandas-gbq==0.10.0
   Pygments==2.5.2
   rsa==4.0
   SQLAlchemy-JSONField==0.8.0
   
   
   and still testing...


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