Hackfix GNU Health to install specific version of python dependency which doesn't fail during setup

This commit is contained in:
Disassembler 2020-04-04 11:29:09 +02:00
parent 0bae44985c
commit c04cf033a8
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -17,6 +17,10 @@ RUN EOF
adduser -S -u 8080 -h /srv/gnuhealth -s /bin/bash -g gnuhealth -G gnuhealth 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
cd /srv/install
sudo -u gnuhealth ./gnuhealth-setup install