Skip to Content
Menu
This question has been flagged
1 Reply
3758 Views

Official docker images are built with some regularity. The odoo version is installed from a specific nightly build, as example of today latest for 14.0:


ARG ODOO_RELEASE=20210308
ARG ODOO_SHA=4daeebd19613ae7d0cf53f23c2f47a2b39b29163



Thanks in advance


How do I find which source code git id this deb package was built from?

('Latest' is not an option for me, as I am working with older images (not just 14.0:latest) in some cases)

My goal is to:

  1. Clone git repo for a given equivalent nightly build (say 20210104)

  2. Do my changes

  3. build my customized docker from source code

Avatar
Discard
Best Answer

I would suggest Make changes inside the docker container which you run using docker run command by 

docker exec -ti --user root odoo_container_id /bin/bash

this command will let you make changes in the container, from that container you can create your own docker image and upload it to docker hub: more details here

Or, in case your making too many changes in the image, then you should map/mount[volumes] the source code directory of docker container to the any external location, more details here   

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 15
6377
2
Mar 15
4237
1
Mar 15
5421
1
Mar 15
5160
1
Mar 15
35391