odoo / docker

Other
931 stars 1.51k forks source link

[IMP] Use latest nightly build by default #435

Open ofahrni opened 1 year ago

ofahrni commented 1 year ago

Updated Dockerfile for versions 14.0, 15.0 and 16.0 to always use the "latest" nightly build available and automatically get the sha1 checksum for it. Manually specifying the Odoo version and and sha1 checksum via build arguments is still possible.

larmar commented 1 year ago

Maybe I'm wrong. But isn't the docker triggered by the commit. So not changing the source would actually not trigger a docker build ? I like the idea of building more frequently, but i believe it has to be controlled. Any day is not really good. Unless you build every day and have tagged docker images, like the nightly. I'm using similar shell script trying to keep up with weekly "Monday" builds in my own fork :-)

lathama commented 3 months ago

@ofahrni if this is still of interest can you update the PR to reflect 15, 16, and 17 along with changing to HTTPS urls.

I use the Docker ADD in my personal builds as it supports HTTPS downloads. e.g. ADD https://nightly.odoo.com/17.0/nightly/deb/odoo_17.0.latest_all.deb /tmp/

I just noticed that the checksum in https://nightly.odoo.com/17.0/nightly/deb/odoo_17.0.latest.dsc is incorrect and the correct one is in https://nightly.odoo.com/17.0/nightly/deb/Packages which is not awesome.