File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -187,3 +187,17 @@ ENV EXCLUDE=
187187ENV OCA_GIT_USER_NAME=sgrunbot
188188ENV OCA_GIT_USER_EMAIL=sgrunbot@adm.steingabelgaard.dk
189189ENV OCA_ENABLE_CHECKLOG_ODOO=
190+
191+ # Install commonly used OCA addons
192+ ADD https://api.github.com/repos/steingabelgaard/odoo/git/refs/heads/$odoo_version /tmp/branch.json
193+
194+ # Use the commit SHA from JSON to download exact requirements.txt
195+ RUN SHA=$(jq -r .object.sha /tmp/branch.json) \
196+ && curl -sSL "https://raw.githubusercontent.com/steingabelgaard/odoo/${SHA}/oca-addons.txt" \
197+ -o /tmp/oca-addons-requirements.txt
198+ # The sed command is to use the latest version of gevent and greenlet. The
199+ # latest version works with all versions of Odoo that we support here, and the
200+ # oldest pinned in Odoo's requirements.txt don't have wheels, and don't build
201+ # anymore with the latest cython.
202+ RUN pip install --no-cache-dir \
203+ -r /tmp/oca-addons-requirements.txt \
You can’t perform that action at this time.
0 commit comments