Commit 94cea0ce authored by Yassine Doghri's avatar Yassine Doghri
Browse files

feat: set min PHP version to 8.4

update CI4 to 4.6.0 + use codeigniter-vite and vite-plugin-codeigniter to load assets
parent 0e4e301b
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
# ⚠️ NOT optimized for production
# should be used only for development purposes
#---------------------------------------------------
FROM php:8.3-fpm
FROM php:8.4-fpm

LABEL maintainer="Yassine Doghri <yassine@doghri.fr>"

@@ -47,11 +47,4 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
    && docker-php-ext-enable redis \
    # mysqli for database access
    && docker-php-ext-install mysqli \
    && docker-php-ext-enable mysqli \
    # configure php
    && echo "file_uploads = On\n" \
         "memory_limit = 512M\n" \
         "upload_max_filesize = 500M\n" \
         "post_max_size = 512M\n" \
         "max_execution_time = 300\n" \
         > /usr/local/etc/php/conf.d/uploads.ini
    && docker-php-ext-enable mysqli
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ services:
      - 8080:8080
    volumes:
      - ../..:/workspaces:cached
      - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
    environment:
      CI_ENVIRONMENT: development
      vite_environment: development
+5 −0
Original line number Diff line number Diff line
file_uploads = On
memory_limit = 512M
upload_max_filesize = 500M
post_max_size = 512M
max_execution_time = 300
+2 −2
Original line number Diff line number Diff line
image: code.castopod.org:5050/adaures/castopod:ci-php8.3
image: code.castopod.org:5050/adaures/castopod:ci-php8.4

stages:
  - prepare
@@ -70,7 +70,7 @@ lint-php:
lint-js:
  stage: quality
  script:
    - pnpm run prettier
    - pnpm run format
    - pnpm run typecheck
    - pnpm run lint
    - pnpm run lint:css
+2 −2
Original line number Diff line number Diff line
# rsync filter rules to copy required files for Castopod's bundle

+ app/Resources/icons/***
- app/Resources/**
+ resources/icons/***
- resources/**
+ app/***
+ modules/***
+ plugins/***
Loading