Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4183 มุมมอง

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
6875
2
มี.ค. 15
4641
1
มี.ค. 15
5783
1
มี.ค. 15
5624
1
มี.ค. 15
35934