Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3767 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 15
6382
2
maalisk. 15
4237
1
maalisk. 15
5426
1
maalisk. 15
5165
1
maalisk. 15
35401