콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4281 화면

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   

아바타
취소
관련 게시물 답글 화면 활동
2
3월 15
6986
2
3월 15
4710
1
3월 15
5892
1
3월 15
5701
1
3월 15
36045