From 7d62e9e0fa74dd10366ec7a01a19f3b5a19832d6 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 9 Jul 2018 21:00:21 +0200 Subject: [PATCH] Bump GNU Health Tryton version to 4.2.13 --- gnuhealth.sh | 2 +- gnuhealth/Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnuhealth.sh b/gnuhealth.sh index 8d448cb..601799a 100755 --- a/gnuhealth.sh +++ b/gnuhealth.sh @@ -24,7 +24,7 @@ envsubst <${SOURCE_DIR}/srv/gnuhealth/conf/trytond.conf >/srv/gnuhealth/conf/try export GNUHEALTH_ADMIN_USER="admin" export GNUHEALTH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64) echo ${GNUHEALTH_ADMIN_PWD} >/tmp/.adminpwd -docker run --rm -h gnuhealth --link postgres -v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config -v /tmp/.adminpwd:/tmp/.adminpwd -e TRYTONPASSFILE=/tmp/.adminpwd gnuhealth /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10/bin/trytond-admin -d gnuhealth --all -v +docker run --rm -h gnuhealth --link postgres -v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config -v /tmp/.adminpwd:/tmp/.adminpwd -e TRYTONPASSFILE=/tmp/.adminpwd gnuhealth /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.13/bin/trytond-admin -d gnuhealth --all -v rm -f /tmp/.adminpwd spotter-appmgr update-login gnuhealth "${GNUHEALTH_ADMIN_USER}" "${GNUHEALTH_ADMIN_PWD}" diff --git a/gnuhealth/Dockerfile b/gnuhealth/Dockerfile index 9e965b5..b6ad88a 100644 --- a/gnuhealth/Dockerfile +++ b/gnuhealth/Dockerfile @@ -27,7 +27,7 @@ RUN \ && cd /srv/gnuhealth \ && sudo -u gnuhealth ./gnuhealth-setup install \ # Hackfix template1 database lock - && sed -i 's/template1/gnuhealth/g' /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10/trytond/backend/postgresql/database.py \ + && sed -i 's/template1/gnuhealth/g' /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.13/trytond/backend/postgresql/database.py \ # Install Sao (Tryton web client) dependencies && cd /srv/gnuhealth/sao \ && sudo -u gnuhealth npm install grunt grunt-cli grunt-contrib-concat grunt-contrib-jshint grunt-contrib-uglify grunt-contrib-less grunt-po2json \ @@ -42,7 +42,7 @@ VOLUME ["/srv/gnuhealth/gnuhealth/tryton/server/config"] EXPOSE 8080 USER gnuhealth -ENV PATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10/bin:${PATH} \ +ENV PATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.13/bin:${PATH} \ TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf \ - PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10:/srv/gnuhealth/gnuhealth/tryton/server/config + PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.13:/srv/gnuhealth/gnuhealth/tryton/server/config CMD ["trytond", "--verbose"]