mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 14:06:15 +00:00
add more lint (#378)
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user