Skip to content

Commit 328b280

Browse files
authored
Update Odoo requirements source in Dockerfile
1 parent 96e013f commit 328b280

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ ENV PATH=/opt/odoo-venv/bin:$PATH
122122
ARG odoo_version
123123

124124
# Install Odoo requirements (use ADD for correct layer caching).
125-
# We use requirements from OCB for easier maintenance of older versions.
126-
ADD https://api.github.com/repos/OCA/OCB/git/refs/heads/$odoo_version /tmp/branch.json
125+
# We use requirements from our Odoo fork for easier maintenance of older versions.
126+
ADD https://api.github.com/repos/steingabelgaard/odoo/git/refs/heads/$odoo_version /tmp/branch.json
127127

128128
# Use the commit SHA from JSON to download exact requirements.txt
129129
RUN SHA=$(jq -r .object.sha /tmp/branch.json) \
130-
&& curl -sSL "https://raw.githubusercontent.com/OCA/OCB/${SHA}/requirements.txt" \
130+
&& curl -sSL "https://raw.githubusercontent.com/steingabelgaard/odoo/${SHA}/requirements.txt" \
131131
-o /tmp/ocb-requirements.txt
132132
# The sed command is to use the latest version of gevent and greenlet. The
133133
# latest version works with all versions of Odoo that we support here, and the

0 commit comments

Comments
 (0)