geerlingguy / docker-ubuntu1804-ansible

Ubuntu 18.04 LTS (Bionic) Docker container for Ansible playbook and role testing.
https://hub.docker.com/r/geerlingguy/docker-ubuntu1804-ansible/
MIT License
79 stars 53 forks source link

Getting few errors on build #3

Closed spekki closed 5 years ago

spekki commented 5 years ago

I get errors,

Failed building wheel for ansible Failed building wheel for PyYAML Failed building wheel for MarkupSafe Failed building wheel for pycparser

Fixed it though by adding

RUN pip install wheel before RUN pip install ansible

geerlingguy commented 5 years ago

@spekki - Interesting; I haven't run into these issues last time I did a build, which was a few days ago (to get Ansible 2.7.0 on the container—see https://hub.docker.com/r/geerlingguy/docker-ubuntu1804-ansible/tags/). Are you making any modifications, or running docker build directly on this project's Dockerfile?

spekki commented 5 years ago

@spekki - Interesting; I haven't run into these issues last time I did a build, which was a few days ago (to get Ansible 2.7.0 on the container—see https://hub.docker.com/r/geerlingguy/docker-ubuntu1804-ansible/tags/). Are you making any modifications, or running docker build directly on this project's Dockerfile?

Didn't do any modifications before that wheel installation line and yes, running directly from this project's Dockerfile. No idea why it failed as i said, it's working now. Just leaving this here in case someone else bumps into the same problem.

geerlingguy commented 5 years ago

@spekki - I'll chalk it up to weird chance or networking :) Thanks for posting the update!