Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4196 Представления

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

Аватар
Отменить
Лучший ответ

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   

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мар. 15
6887
2
мар. 15
4644
1
мар. 15
5793
1
мар. 15
5641
1
мар. 15
35944