https://github.com/akretion/odoo-docker
Odoo docker image build on top of odoo-bedrock
https://github.com/akretion/odoo-docker
Last synced: 10 months ago
JSON representation
Odoo docker image build on top of odoo-bedrock
- Host: GitHub
- URL: https://github.com/akretion/odoo-docker
- Owner: akretion
- License: mit
- Created: 2022-10-03T10:58:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-06-16T14:00:16.000Z (12 months ago)
- Last Synced: 2025-06-16T14:37:08.878Z (12 months ago)
- Language: Dockerfile
- Size: 62.5 KB
- Stars: 3
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
============================
Odoo container image
============================
Credits
=======
Build on top of the great `acsone/odoo-bedrock `
Some inspiration has been drawn from
`camptocamp/docker-odoo-project `_
Contributors
~~~~~~~~~~~~
* Sébastien Beau
* Raphaël Reverdy
Binary tools
============
migrate
~~~~~~~
The migrate cmd line an extended version of **click-odoo-update**
It have exactly the same behaviour but with two new features
- for all modules in **odoo/local-src** migrations script inside the directory "migrations/0.0.0"
are always run
- for the module custom_all you can add "before.sql" script and the request will be run before
the update of module
initdb
~~~~~~~
This script is used to create a database from scratch, with cache based on click-odoo-initdb
runtests
~~~~~~~~~
This script is used to execute the custom test on the ci
To Test locally
===============
Cmd line inside of this current directory
``` docker build -f 17.0-light/Dockerfile -t try-local . ```
Now in the Docker file of your odoo project:
replace
```FROM ghcr.io/akretion/odoo-docker:17.0-light-latest as base ```
by
```FROM try-local:latest as base```