Updated linefeed to be Unix style instead of CRLF.

This commit is contained in:
Abdulmhsen B. A. A
2022-02-14 18:36:08 +03:00
parent 35a1012784
commit 734cb29929
5 changed files with 7 additions and 4 deletions

View File

@@ -3,16 +3,18 @@ FROM php:8.1-fpm-alpine
ENV IN_DOCKER=1
LABEL maintainer="admin@arabcoders.org"
# Installed Required PHP Extensions.
# Setup required environment
#
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/bin/
RUN mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" && chmod +x /usr/bin/install-php-extensions && \
sync && install-php-extensions pdo mbstring ctype sqlite3 json opcache xhprof && \
rm /usr/bin/install-php-extensions && \
apk add --no-cache caddy nano curl procps net-tools iproute2 shadow runuser && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
# Create needed directories.
RUN mkdir -p /app /config
# App Verison
#
ARG APP_VERSION=latest

View File

@@ -8,6 +8,9 @@ usermod -u ${WS_UID} www-data
groupmod -g ${WS_GID} www-data
if [ ! -f "/app/vendor/autoload.php" ]; then
if [ ! -f "/usr/bin/composer" ]; then
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
fi
runuser -u www-data -- composer --ansi --working-dir=/app/ -o --no-dev --no-progress --no-cache install
fi

1
var/db/.gitignore vendored
View File

@@ -1 +0,0 @@
*

1
var/logs/.gitignore vendored
View File

@@ -1 +0,0 @@
*