Skip to content

Commit

Permalink
proper double odoo and OCB object refs
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Aug 16, 2023
1 parent ce72a02 commit b355bea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions 14.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ RUN apk fix && \
RUN pip install PyYaml==5.3.1
RUN pip install git+https://github.com/akretion/ak

COPY repos.yml /root/.config/git-autoshare/repos.yml
RUN pip install git-autoshare git-aggregator
COPY bin/* /usr/local/bin/
RUN pip install git-aggregator
COPY install/* /install/

# pre-fetch the git-autoshare cache with the bare minimum:
# (git-autoshare reference cannot be shallow at all sadly)
ADD https://api.github.com/repos/odoo/odoo/git/refs/heads/14.0 version.json
RUN mkdir -p /root/.cache/git-autoshare/github.com/odoo && \
cd /root/.cache/git-autoshare/github.com/odoo && \
/usr/bin/git init --bare && \
/usr/bin/git fetch https://github.com/OCA/OCB.git refs/heads/14.0:refs/git-autoshare/oca/heads/14.0 --shallow-since=2020-10-01 && \
/usr/bin/git fetch https://github.com/odoo/odoo.git refs/heads/14.0:refs/git-autoshare/odoo/heads/14.0 --shallow-since=2020-10-01
RUN mkdir -p /odoo/src && \
cd /odoo/src && \
git init --bare && \
git fetch https://github.com/odoo/odoo.git 14.0 --shallow-since=2020-10-01 && \
git remote add oca https://github.com/OCA/OCB.git && \
git fetch oca 14.0 --shallow-since=2020-10-01

0 comments on commit b355bea

Please sign in to comment.