Docker build is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
New
|
Undecided
|
Unassigned |
Bug Description
I am not able to build docker container using the latest source code (commit - dbfc0bea227e45b
Below is the error -
Collecting SQLAlchemy>=1.2.5
Downloading SQLAlchemy-
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/
status = self.run(options, args)
File "/usr/local/
resolver.
File "/usr/local/
discovered_
File "/usr/local/
abstract_dist = self._get_
File "/usr/local/
abstract_dist = self.preparer.
File "/usr/local/
req, self.req_tracker, self.finder, self.build_
File "/usr/local/
abstract_
File "/usr/local/
self.
File "/usr/local/
reqs = backend.
File "/usr/local/
'config_
File "/usr/local/
raise BackendUnavaila
BackendUnavailable
The command '/bin/sh -c curl -o "${TMP_
Steps to reproduce -
- using docker
docker build -t mistral -f tools/docker/
- using docker-compose
docker-compose -f tools/docker/
-f tools/docker/
-p mistral up -d
Apparently, this issue is getting fixed by adding '--no-use-pep517' flag in Dockerfile at 51 line (https:/
pip install --no-use-pep517 -r "${MISTRAL_
Is this valid bug or am I doing something stupid ?
Additional Info -
Docker version 19.03.6 on Ubuntu 18.04.4 LTS