From 6ef3212007cf5f545a479024ce590e4f0c329e58 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Wed, 30 Sep 2015 16:30:55 +0000 Subject: [PATCH] Added preliminar support for Docker containers --- orchestra/bin/orchestra-admin | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/orchestra/bin/orchestra-admin b/orchestra/bin/orchestra-admin index 462a09ed..24052031 100755 --- a/orchestra/bin/orchestra-admin +++ b/orchestra/bin/orchestra-admin @@ -111,7 +111,6 @@ function install_requirements () { ORCHESTRA_PATH=$(get_orchestra_dir) || true # lxml: libxml2-dev, libxslt1-dev, zlib1g-dev - # wkhtmltopdf: xfonts-75dpi, xvfb APT="python3 \ python3-pip \ python3-dev \ @@ -119,8 +118,6 @@ function install_requirements () { libxslt1-dev \ zlib1g-dev \ bind9utils \ - wkhtmltopdf \ - xfonts-75dpi \ xvfb \ ca-certificates \ gettext \ @@ -152,7 +149,7 @@ function install_requirements () { # Install a more recent version of wkhtmltopdf (0.12.2) (PDF page number support) wkhtmltox=$(mktemp) wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb -O ${wkhtmltox} - dpkg -i ${wkhtmltox} + dpkg -i ${wkhtmltox} || { echo "Installing missing dependencies for wkhtmltox..." && apt-get -f install; } # Make sure locales are in place before installing postgres if [[ $({ perl --help > /dev/null; } 2>&1|grep 'locale failed') ]]; then