add more lint (#378)

This commit is contained in:
Saeed Vaziry
2024-11-25 23:27:37 +01:00
committed by GitHub
parent c926ce4271
commit b7184dcfc4
17 changed files with 489 additions and 549 deletions

View File

@ -16,11 +16,11 @@ RUN apt-get install -y nginx
# php
RUN apt-get update \
&& apt-get install -y cron gnupg gosu curl ca-certificates zip unzip supervisor libcap2-bin libpng-dev \
python2 dnsutils librsvg2-bin fswatch wget openssh-client \
python2 dnsutils librsvg2-bin fswatch wget openssh-client \
&& add-apt-repository ppa:ondrej/php -y \
&& apt-get update \
&& apt-get install -y php8.2 php8.2-fpm php8.2-mbstring php8.2-mcrypt php8.2-gd php8.2-xml \
php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl
php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl
COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini
# composer

View File

@ -23,7 +23,7 @@ fi
# Check if APP_KEY starts with 'base64:'
if [[ $APP_KEY == base64:* ]]; then
# Remove 'base64:' prefix and decode the base64 string
decoded_key=$(echo "${APP_KEY:7}" | base64 --decode 2>/dev/null)
decoded_key=$(echo "${APP_KEY:7}" | base64 --decode 2> /dev/null)
# Check if decoding was successful
if [ $? -ne 0 ]; then