feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready
This commit is contained in:
@@ -11,6 +11,8 @@ RUN apt-get update && apt-get install -y \
|
||||
libxml2-dev \
|
||||
libzip-dev \
|
||||
libicu-dev \
|
||||
libpq-dev \
|
||||
libsodium-dev \
|
||||
zip \
|
||||
unzip \
|
||||
procps \
|
||||
@@ -24,22 +26,39 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
||||
# Note: opcache and sodium are already built into PHP 8.5
|
||||
RUN docker-php-ext-install -j$(nproc) \
|
||||
pdo_mysql \
|
||||
pdo_pgsql \
|
||||
mbstring \
|
||||
exif \
|
||||
pcntl \
|
||||
posix \
|
||||
sockets \
|
||||
shmop \
|
||||
gd \
|
||||
zip \
|
||||
intl \
|
||||
bcmath
|
||||
|
||||
# Install PECL extensions (Redis for queue system)
|
||||
RUN pecl install redis-6.3.0RC1 apcu \
|
||||
&& docker-php-ext-enable redis apcu
|
||||
|
||||
# Configure APCu
|
||||
RUN echo "apc.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini \
|
||||
&& echo "apc.shm_size=128M" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
|
||||
|
||||
# Install Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# Create storage directory structure for volume mounts
|
||||
RUN mkdir -p /var/www/html/storage/cache \
|
||||
/var/www/html/storage/queue \
|
||||
/var/www/html/storage/discovery \
|
||||
/var/www/html/storage/logs \
|
||||
/var/www/html/var
|
||||
|
||||
# Note: Application files and dependencies will be available via mounted volume
|
||||
# No need to copy files during build since we'll use the mounted project directory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user