Search code examples
dockerodoo-9python-pika

docker odoo 9 install pika error


I have a simple docker build that I want to achieve. Pull the base image odoo:9 and install pika library

FROM odoo:9

RUN pip install pika

but can't proceed as I'm getting this error. enter image description here btw, I am using docker in windows environment.


Solution

  • My solution is that, I just pull the Dockerfile from the official Docker Odoo. Add the line "&& pip install pika" as shown in the attached image. enter image description here

    build again and you have a customize docker image with pika library installed.