Failed to build Docker image using Dockerfile in master branch
See original GitHub issueapache Airflow version
2.0.2
Environment
Configuration: Dockerfile OS (e.g. from /etc/os-release): ubuntu 16.04 Install tools: sudo docker build -t airflow-with-browser .
What happened:
I Can’t build a docker image using Dockerfile in master branch The python package dependency error occurred while building a image
The conflict is caused by:
connexion[flask,swagger-ui] 2.6.0 depends on connexion 2.6.0 (from https://files.pythonhosted.org/packages/a7/27/d8258c073989776014d49bbc8049a9b0842aaf776f462158d8a885f8c6a2/connexion-2.6.0-py2.py3-none-any.whl#sha256=c568e579f84be808e387dcb8570bb00a536891be1318718a0dad3ba90f034191 (from https://pypi.org/simple/connexion/) (requires-python:>=3.6))
The user requested (constraint) connexion==2.7.0
I think there a version mismatching between connexion[flask, swagger-ui] and connexion…
What you expected to happen:
Succeed to build a Airflow image
To Replicate: git clone https://github.com/apache/airflow cd airflow sudo docker build -t airflow-with-browser .
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Failing to build from Dockerfile - OSS Support
I tested building it from master and it works fine for me. That error message indicates you're trying to build the image from...
Read more >Can't build docker image from github repository branch
Repository contains a Dockerfile and other files necessary to build a container image. According to the documentation I can specify the branch ......
Read more >No Dockerfile found · Codefresh | Docs
This error happens when you are trying to build a Docker image and the pipeline step cannot find a Dockerfile. It might be...
Read more >docker build - Docker Documentation
The docker build command builds Docker images from a Dockerfile and a “context”. ... this command to use a directory called docker in...
Read more >How To Recover From a Failed Automated Docker Hub Build
As we are working directly on the master branch, to fix this error we simply need to correct the above modification on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed. It works when you switch to PIP 20.2.4
I will update the documentation to make it clear that you need to add the build arg when build pre-2.1 images.
I think master constraints are not refreshed recently. Let me do that now.