These warnings pop up for many libraries, however it does seem like this google_cloud_os_login is a major culprit taking a significant amount of time. I am actually quite confused about this specific warning message referring to google_cloud_os_login because the build step that is hanging is the line I shared starting with RUN set -ex, which doesn't look to have any google cloud installations? We install some google cloud stuff via requirements.txt (-core, -datastore), but the lines to COPY and RUN pip install on requirements.txt are much lower in our dockerfile (as indicated by the. ![]() & apt-get purge -auto-remove -yqq $buildDeps \Īnd here is our requirements.txt google-cloud-core=1.4.1 & update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 \ & apt-get install -yqq -no-install-recommends \ Here is the line in our Dockerfile that is taking the hour+ RUN set -ex \ 1.2 Inside mainfolder put airflow.cfg file with modified ‘sqlalchemyconn ’ variable (was described upper). => => # Downloading google_cloud_os_login-2.2.1-py2.p圓-none-any.whl (41 kB) 1.1 Prepare the main folder (in git source is called airflowindockercompose) all files will be placed inside it. We need to configure the connection detail to add a new database server: In the General tab: choose a name for your database server, e.g. You might need to provide the dependency resolver with stricter constraints Click on Add New Server in the middle of the page under Quick Links or right-click on Server in the top left and choose Create -> Server. => => # INFO: This is taking longer than usual. We're seeing a lot of warnings that look like this during build: => => # Downloading google_cloud_os_login-2.3.1-py2.p圓-none-any.whl (42 kB) ![]() With that said we haven't had to rebuild our image in a few months, so not sure when the issue came to be. ![]() It used to take ~5 minutes for our Airflow deployment's docker image to build, and all of a sudden it is taking over an hour.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |