Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Update docker files.
James Cole17e85ca2cf42
diff --git a/.deploy/docker/entrypoint.sh b/.deploy/docker/entrypoint.shindex 239ef08fe4..1f19e49876 100755--- a/.deploy/docker/entrypoint.sh+++ b/.deploy/docker/entrypoint.sh@@ -20,18 +20,6 @@ mkdir -p $FIREFLY_PATH/storage/uploadchown -R www-data:www-data -R $FIREFLY_PATH/storagechmod -R 775 $FIREFLY_PATH/storage-chown -R www-data:www-data -R $FIREFLY_PATH/app-chmod -R 775 $FIREFLY_PATH/app--chown -R www-data:www-data -R $FIREFLY_PATH/framework-chmod -R 775 $FIREFLY_PATH/framework--chown -R www-data:www-data -R $FIREFLY_PATH/logs-chmod -R 775 $FIREFLY_PATH/logs--chown -R www-data:www-data -R $FIREFLY_PATH/upload-chmod -R 775 $FIREFLY_PATH/upload-# remove any lingering files that may break upgrades:rm -f $FIREFLY_PATH/storage/logs/laravel.logdiff --git a/Dockerfile b/Dockerfileindex a87317ed64..e987c41f1a 100644--- a/Dockerfile+++ b/Dockerfile@@ -5,12 +5,8 @@ FROM php:7.2-apacheARG CORESENV CORES ${CORES:-1}-ENV FIREFLY_PATH /var/www/firefly-iii/-ENV CURL_VERSION 7.60.0-ENV OPENSSL_VERSION 1.1.1-pre6-ENV COMPOSER_ALLOW_SUPERUSER 1--LABEL version="1.1" maintainer="[email protected]"+ENV FIREFLY_PATH=/var/www/firefly-iii/ CURL_VERSION=7.60.0 OPENSSL_VERSION=1.1.1-pre6 COMPOSER_ALLOW_SUPERUSER=1+LABEL version="1.2" maintainer="[email protected]"# install packagesRUN apt-get update -y && \@@ -35,10 +31,9 @@ RUN apt-get update -y && \supervisor \locales && \apt-get clean && \- rm -rf /var/lib/apt/lists/*-# LDAP install-RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && docker-php-ext-install ldap-+ rm -rf /var/lib/apt/lists/* && \+ docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \+ docker-php-ext-install ldap# Install latest curlRUN cd /tmp && \wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz && \@@ -75,14 +70,11 @@ COPY ./.deploy/docker/cacert.pem /usr/local/ssl/cert.pem# test crons added via crontabRUN echo "0 3 * * * /usr/local/bin/php /var/www/firefly-iii/artisan firefly:cron" | crontab -#RUN (crontab -l ; echo "*/1 * * * * free >> /var/www/firefly-iii/public/cron.html") 2>&1 | crontab --# Install PHP exentions.-RUN docker-php-ext-install -j$(nproc) gd intl tidy zip bcmath pdo_mysql bz2 pdo_pgsql--# Install composer-RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer-# Generate locales supported by Firefly III-RUN echo "en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\nfr_FR.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\n\n" > /etc/locale.gen && locale-gen+# Install PHP exentions, install composer, update languages.+RUN docker-php-ext-install -j$(nproc) gd intl tidy zip bcmath pdo_mysql bz2 pdo_pgsql && \+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \+ echo "en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\nfr_FR.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\n\n" > /etc/locale.gen && locale-gen# copy Apache config to correct spot.COPY ./.deploy/docker/apache2.conf /etc/apache2/apache2.conf