Bump GNU Health Tryton version to 4.2.10
This commit is contained in:
parent
2400bf5413
commit
258ece68f5
@ -20,7 +20,7 @@ envsubst <${SOURCE_DIR}/srv/gnuhealth/conf/trytond.conf >/srv/gnuhealth/conf/try
|
|||||||
# Populate database
|
# Populate database
|
||||||
export GNUHEALTH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
export GNUHEALTH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
||||||
echo ${GNUHEALTH_ADMIN_PWD} >/tmp/.adminpwd
|
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.9/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.10/bin/trytond-admin -d gnuhealth --all -v
|
||||||
rm -f /tmp/.adminpwd
|
rm -f /tmp/.adminpwd
|
||||||
|
|
||||||
# Populate demo database
|
# Populate demo database
|
||||||
|
@ -40,7 +40,7 @@ RUN \
|
|||||||
&& cd /srv/gnuhealth \
|
&& cd /srv/gnuhealth \
|
||||||
&& sudo -u gnuhealth ./gnuhealth-setup install \
|
&& sudo -u gnuhealth ./gnuhealth-setup install \
|
||||||
# Hackfix template1 database lock
|
# Hackfix template1 database lock
|
||||||
&& sed -i 's/template1/gnuhealth/g' /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.9/trytond/backend/postgresql/database.py \
|
&& sed -i 's/template1/gnuhealth/g' /srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10/trytond/backend/postgresql/database.py \
|
||||||
# Install Sao (Tryton web client) dependencies
|
# Install Sao (Tryton web client) dependencies
|
||||||
&& cd /srv/gnuhealth/sao \
|
&& 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 \
|
&& sudo -u gnuhealth npm install grunt grunt-cli grunt-contrib-concat grunt-contrib-jshint grunt-contrib-uglify grunt-contrib-less grunt-po2json \
|
||||||
@ -55,7 +55,7 @@ VOLUME ["/srv/gnuhealth/gnuhealth/tryton/server/config"]
|
|||||||
EXPOSE 8008
|
EXPOSE 8008
|
||||||
|
|
||||||
USER gnuhealth
|
USER gnuhealth
|
||||||
ENV PATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.9/bin:${PATH} \
|
ENV PATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10/bin:${PATH} \
|
||||||
TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf \
|
TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf \
|
||||||
PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.9:/srv/gnuhealth/gnuhealth/tryton/server/config
|
PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.10:/srv/gnuhealth/gnuhealth/tryton/server/config
|
||||||
CMD ["trytond", "--verbose"]
|
CMD ["trytond", "--verbose"]
|
||||||
|
Loading…
Reference in New Issue
Block a user