OCA / oca-ci

Container image to run OCA CI tests
MIT License
30 stars 42 forks source link

Why git clone odoo? #3

Closed hparfr closed 3 years ago

hparfr commented 3 years ago

In this line: https://github.com/sbidoul/oca-ci/blob/fdbcf377efb00f94102ee5ed373ad1feab91f439/Dockerfile#L108

There is a git clone. Just wondering why not curl directly a tarball like https://api.github.com/repos/odoo/odoo/tarball/14.0

sbidoul commented 3 years ago

It might reduce the image size a bit indeed. A difficulty is to identify the root directory inside the tarball.

sbidoul commented 3 years ago

Done in 876f8c86b14a52eaff5eb9be0f454dc85d24b620.