Bump GNU Health to version 3.6.5 on Alpine 3.12

This commit is contained in:
Disassembler 2020-10-22 21:03:16 +02:00
parent 9e2075a4af
commit 40a46cd675
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 6 additions and 10 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "3.6.4-200621", "version": "3.6.5-201021",
"meta": { "meta": {
"title": "GNU Health", "title": "GNU Health",
"desc-cs": "Lékařské záznamy pacientů", "desc-cs": "Lékařské záznamy pacientů",
@ -8,7 +8,7 @@
}, },
"containers": { "containers": {
"gnuhealth": { "gnuhealth": {
"image": "gnuhealth_3.6.4-200621", "image": "gnuhealth_3.6.5-201021",
"depends": [ "depends": [
"gnuhealth-postgres" "gnuhealth-postgres"
], ],
@ -17,7 +17,7 @@
} }
}, },
"gnuhealth-postgres": { "gnuhealth-postgres": {
"image": "postgres_12.2.0-200621", "image": "postgres_12.4.0-201021",
"mounts": { "mounts": {
"gnuhealth/postgres_data": "var/lib/postgresql" "gnuhealth/postgres_data": "var/lib/postgresql"
} }

View File

@ -1,5 +1,5 @@
IMAGE gnuhealth_3.6.4-200621 IMAGE gnuhealth_3.6.5-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
@ -9,7 +9,7 @@ RUN EOF
apk --no-cache add --virtual .deps build-base freetype-dev git libffi-dev libjpeg-turbo-dev libxml2-dev libxslt-dev ncurses npm patch postgresql-dev python3-dev sudo apk --no-cache add --virtual .deps build-base freetype-dev git libffi-dev libjpeg-turbo-dev libxml2-dev libxslt-dev ncurses npm patch postgresql-dev python3-dev sudo
# Download GNU Health # Download GNU Health
wget http://ftp.gnu.org/gnu/health/gnuhealth-3.6.4.tar.gz -O - | tar xzf - -C /srv wget http://ftp.gnu.org/gnu/health/gnuhealth-3.6.5.tar.gz -O - | tar xzf - -C /srv
mv /srv/gnuhealth-* /srv/install mv /srv/gnuhealth-* /srv/install
# Create OS user # Create OS user
@ -17,10 +17,6 @@ RUN EOF
adduser -S -u 8080 -h /srv/gnuhealth -s /bin/bash -g gnuhealth -G gnuhealth gnuhealth adduser -S -u 8080 -h /srv/gnuhealth -s /bin/bash -g gnuhealth -G gnuhealth gnuhealth
chown -R gnuhealth:gnuhealth /srv/gnuhealth chown -R gnuhealth:gnuhealth /srv/gnuhealth
# Hackfix to install specific version of python dependency which doesn't fail during setup
# https://github.com/sdispater/pendulum/issues/457
sed -i 's/pendulum/pendulum==2.0.3/' /srv/install/gnuhealth-setup
# Install GNU Health # Install GNU Health
cd /srv/install cd /srv/install
sudo -u gnuhealth ./gnuhealth-setup install sudo -u gnuhealth ./gnuhealth-setup install