Skip to content

Commit

Permalink
prefetch single branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Aug 15, 2023
1 parent c480969 commit e09b0dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 14.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ COPY repos.yml /root/.config/git-autoshare/repos.yml
RUN pip install git-autoshare git-aggregator
COPY bin/* /usr/local/bin/
ADD https://api.github.com/repos/odoo/odoo/git/refs/heads/14.0 version.json
RUN /usr/local/bin/git clone https://github.com/odoo/odoo.git -b 14.0 --bare --single-branch
RUN mkdir -p /root/.cache/git-autoshare/github.com/odoo && \
/usr/bin/git init --bare && \
git fetch https://github.com/odoo/odoo.git refs/heads/14.0:refs/git-autoshare/odoo/heads/14.0

0 comments on commit e09b0dd

Please sign in to comment.