Bump Odoo to version 14.0.0 on Alpine 3.12
This commit is contained in:
parent
d2082a896b
commit
fe9928443f
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "13.0.0-200621",
|
"version": "14.0.0-201021",
|
||||||
"meta": {
|
"meta": {
|
||||||
"title": "Odoo",
|
"title": "Odoo",
|
||||||
"desc-cs": "Sada aplikací pro správu organizace",
|
"desc-cs": "Sada aplikací pro správu organizace",
|
||||||
@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"containers": {
|
"containers": {
|
||||||
"odoo": {
|
"odoo": {
|
||||||
"image": "odoo_13.0.0-200621",
|
"image": "odoo_14.0.0-201021",
|
||||||
"depends": [
|
"depends": [
|
||||||
"odoo-postgres"
|
"odoo-postgres"
|
||||||
],
|
],
|
||||||
@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"odoo-postgres": {
|
"odoo-postgres": {
|
||||||
"image": "postgres_12.2.0-200621",
|
"image": "postgres_12.4.0-201021",
|
||||||
"mounts": {
|
"mounts": {
|
||||||
"odoo/postgres_data": "var/lib/postgresql"
|
"odoo/postgres_data": "var/lib/postgresql"
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
IMAGE odoo_13.0.0-200621
|
IMAGE odoo_14.0.0-201021
|
||||||
FROM alpine3.11-python3.8_3.8.2-200621
|
FROM alpine3.12-python3.8_3.8.5-201021
|
||||||
|
|
||||||
RUN EOF
|
RUN EOF
|
||||||
# Install runtime dependencies
|
# Install runtime dependencies
|
||||||
apk --no-cache add libjpeg-turbo libpq nodejs
|
apk --no-cache add libffi libjpeg-turbo libpq nodejs
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
apk --no-cache add --virtual .deps build-base git libjpeg-turbo-dev libxml2-dev libxslt-dev linux-headers openldap-dev postgresql-dev python3-dev
|
apk --no-cache add --virtual .deps build-base git libffi-dev libjpeg-turbo-dev libxml2-dev libxslt-dev linux-headers openldap-dev postgresql-dev python3-dev
|
||||||
|
|
||||||
# Clone Odoo repository
|
# Clone Odoo repository
|
||||||
git clone -b 13.0 --depth 1 https://github.com/odoo/odoo.git /srv/odoo
|
git clone -b 14.0 --depth 1 https://github.com/odoo/odoo.git /srv/odoo
|
||||||
|
|
||||||
# Install Odoo
|
# Install Odoo
|
||||||
cd /srv/odoo
|
cd /srv/odoo
|
||||||
|
15
lxc-apps/odoo/update.sh
Executable file
15
lxc-apps/odoo/update.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -ev
|
||||||
|
|
||||||
|
# Start service containers
|
||||||
|
spoc-container start odoo-postgres
|
||||||
|
|
||||||
|
# Run database migration
|
||||||
|
spoc-container start odoo -- /srv/odoo/odoo-bin -c /srv/odoo/odoo.conf -u all
|
||||||
|
until grep -q 'odoo.modules.loading: Modules loaded.' /var/log/spoc/odoo.log; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
spoc-container stop odoo
|
||||||
|
|
||||||
|
# Disable database migrations
|
||||||
|
spoc-container stop odoo-postgres
|
Loading…
Reference in New Issue
Block a user