When building docker-compose image, fails with the following error:
ERROR: unsatisfiable constraints:
openssl-dev-1.0.2o-r0:
conflicts:
libressl-dev-2.6.5-r0[pc:libcrypto=1.0.2o]
libressl-dev-2.6.5-r0[pc:libssl=1.0.2o]
libressl-dev-2.6.5-r0[pc:openssl=1.0.2o]
satisfies: world[openssl-dev]
libressl-dev-2.6.5-r0:
conflicts:
openssl-dev-1.0.2o-r0[pc:libcrypto=2.6.5]
openssl-dev-1.0.2o-r0[pc:libssl=2.6.5]
openssl-dev-1.0.2o-r0[pc:openssl=2.6.5]
satisfies:
postgresql-dev-10.4-r0[libressl-dev]
returning a non-zero code: 3
The docker-compose should have worked without problem.
Trying to build any of the docker-compose files.
Looking for a solution, it looks than is related to a dependency constrain reported in gliderlabs/docker-alpine#303
I was able to fix it deleting the library from the Dockerfile, but my docker skills are not that sharp and I'm not aware if that impacted somehow, but looks like it didn't.
I had a similar problem.
I managed to solve it by replacing openssl-dev with libressl-dev in ./compose/local/django/Dockerfile
However, on another OS this problem arose again, and this time I decided to replace libressl-dev with openssl-dev back.
I also had a similar problem, I can confirm that Narnikgamarnikus solution worked.
Which version of the template are you using? I think this dependency was removed in https://github.com/pydanny/cookiecutter-django/pull/1661, which is currently on master. Is it in a project you've generated before that time? If so, this issue could be closed. Maybe would be worth an entry in the troubleshooting section? Feel free to send a pull request.
You're right @browniebroke, there is no need for this anymore.
Most helpful comment
I had a similar problem.
I managed to solve it by replacing
openssl-devwithlibressl-devin./compose/local/django/DockerfileHowever, on another OS this problem arose again, and this time I decided to replace
libressl-devwithopenssl-devback.