Skip to content

Commit

Permalink
* Fixed access right for container internal odoo installation while
Browse files Browse the repository at this point in the history
using extra addons.
* Adapted documentation
  • Loading branch information
Mike Werner committed Feb 15, 2018
1 parent c82fdce commit 8b556c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion odoo/.env
Expand Up @@ -32,4 +32,4 @@ POSTGRES_DATA_PATH=./db
# Defaults to 0. Supported values: true or 1 to enable, false or 0 to disable.
#
# For more details see https://docs.docker.com/compose/reference/envvars/#docker_host
COMPOSE_CONVERT_WINDOWS_PATHS=0
#COMPOSE_CONVERT_WINDOWS_PATHS=0
1 change: 1 addition & 0 deletions odoo/Dockerfile
Expand Up @@ -58,6 +58,7 @@ RUN set -x; \
&& id -u odoo &> /dev/null || useradd odoo \
&& chown odoo /etc/odoo/odoo.conf \
&& mkdir -p /mnt/extra-addons \
&& chown -R odoo /usr/lib/python2.7/dist-packages/odoo \
&& chown -R odoo /mnt/extra-addons

VOLUME ["/etc/odoo", "/var/lib/odoo", "/mnt/extra-addons", "/usr/lib/python2.7/dist-packages/odoo/addons"]
Expand Down
2 changes: 1 addition & 1 deletion odoo/README.md
Expand Up @@ -124,7 +124,7 @@ Building the image is quite easy. The Dockerfile was implemented to be
independent from the Odoo and _wkhtmltox_ version to be used. Those versions
have default values but can be overridden using build arguments:

docker build -t brainchild/odoo:10.0 --build-arg OS_VERSION=jessie --build-arg ODOO_VERSION=10.0 --build-arg ODOO_RELEASE=latest --build-arg WKHTMLTOX_VERSION=0.12.2.1
docker build -t brainchild/odoo:10.0 --build-arg OS_VERSION=jessie --build-arg ODOO_VERSION=10.0 --build-arg ODOO_RELEASE=latest --build-arg WKHTMLTOX_VERSION=0.12.4 .

__Note:__ The following files are built into image:

Expand Down

0 comments on commit 8b556c1

Please sign in to comment.