jpds commented on a change in pull request #3782: [AIRFLOW-2936] Use official 
Python images as base image for Docker
URL: https://github.com/apache/incubator-airflow/pull/3782#discussion_r212654329
 
 

 ##########
 File path: scripts/ci/kubernetes/docker/airflow-init.sh
 ##########
 @@ -17,9 +17,10 @@
 #  specific language governing permissions and limitations      *
 #  under the License.
 
-cd /usr/local/lib/python2.7/dist-packages/airflow && \
-cp -R example_dags/* /root/airflow/dags/ && \
+set -e
+
+cd /usr/local/lib/python3.7/site-packages/airflow/ && \
+cp -R example_dags/* /home/airflow/dags/ && \
 airflow initdb && \
 alembic upgrade heads && \
-(airflow create_user -u airflow -l airflow -f jon -e [email protected] -r 
Admin -p airflow || true) && \
-echo "retrieved from mount" > /root/test_volume/test.txt
 
 Review comment:
   I haven't found this necessary in our deployments (but we're using an 
Airflow image with our DAGs baked in).

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