OpusVL / docker-odoo-custom

An Odoo docker image with extended capabilities and fixes over the official one
Other
1 stars 1 forks source link

Preinstall C compiler in 10.0-pg10-fix #12

Closed Nick-OpusVL closed 5 years ago

Nick-OpusVL commented 5 years ago

Closes #11

I think we've proven this now. Remember that any other projects extending 10.0-pg10-fix will need to have some minor changes made to them in order to build, as documented in README.md

Nick-OpusVL commented 5 years ago

So a sample pre-pip.sh file will look like?

apt-get update && apt-get install -y --no-install-recommends my-package

Yes. In fact Kingfisher uses it. Note that -x and -e are passed to /bin/bash when running pre-pip.sh, so it will automatically show commands and exit on first failure (but please check the Dockerfile code actually does this rather than believing me)

https://github.com/OpusVL/kingfisher-odoo/blob/master/build-hooks/pre-pip.sh