zhongjiajie commented on a change in pull request #4717: [AIRFLOW-3895] 
GoogleCloudStorageHook create_bucket with optional request body
URL: https://github.com/apache/airflow/pull/4717#discussion_r257287134
 
 

 ##########
 File path: Dockerfile
 ##########
 @@ -36,6 +36,7 @@ RUN set -x \
 
 WORKDIR $AIRFLOW_HOME
 RUN mkdir -p $AIRFLOW_HOME
+RUN airflow initdb
 
 Review comment:
   Do not think we need `airflow initdb` here. L41 had `ENTRYPOINT`
   
https://github.com/apache/airflow/blob/067a1e3f4aa153195674950fee72bdd23652e61d/scripts/docker/entrypoint.sh#L24-L26
   which exec `airflow` command including `airflow initdb`
   ```suggestion
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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