From e9f469535594bb3807ce50870f0fecaa0ad5a626 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 12 Aug 2019 18:44:57 +0200 Subject: [PATCH] Fix ARM script. --- Dockerfile.arm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile.arm b/Dockerfile.arm index dad09a3eeb..f285be411e 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -12,16 +12,16 @@ RUN apt-get update && apt-get install -y locales unzip libldap2-dev && apt-get c ADD https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions /usr/local/bin/ -RUN docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine)/ && \ +RUN docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine)/ # Use script for -RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \ - install-php-extensions --cleanup bcmath gd pdo_pgsql pdo_sqlite pdo_mysql intl opcache memcached +RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && install-php-extensions --cleanup bcmath gd pdo_pgsql pdo_sqlite pdo_mysql intl opcache memcached -RUN a2enmod rewrite && a2enmod ssl -RUN echo "hu_HU.UTF-8 UTF-8\nro_RO.UTF-8 UTF-8\nnb_NO.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\ncs_CZ.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\nzh_CN.UTF-8 UTF-8\n\n" > /etc/locale.gen -RUN locale-gen -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +# another thing. +RUN a2enmod rewrite && a2enmod ssl && \ + echo "hu_HU.UTF-8 UTF-8\nro_RO.UTF-8 UTF-8\nnb_NO.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\ncs_CZ.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\nzh_CN.UTF-8 UTF-8\n\n" > /etc/locale.gen && \ + locale-gen && \ + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # Copy in Firefly III source WORKDIR $FIREFLY_PATH