File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM --platform=linux/amd64 php:8.2-apache
2+ RUN apt-get update && apt-get install -y --no-install-recommends \
3+ git \
4+ iputils-ping \
5+ libldap2-dev \
6+ libpng-dev \
7+ libpq-dev \
8+ libsqlite3-dev \
9+ libzip-dev \
10+ mariadb-client \
11+ postgresql-client \
12+ sqlite3 \
13+ sudo \
14+ unzip \
15+ vim \
16+ && apt-get -y clean \
17+ && rm -rf /var/lib/apt/lists/*
18+ RUN docker-php-ext-install bcmath zip pdo pdo_mysql pdo_pgsql pdo_sqlite exif gd ldap
19+ COPY composer.json /composer.json
20+ COPY composer.lock /composer.lock
21+ COPY src /src
22+ COPY test /test
23+ RUN curl -sS https://getcomposer.org/installer | php; mv composer.phar /usr/local/bin/composer; chmod +x /usr/local/bin/composer
24+ RUN cd / && composer update
25+ #RUN composer test
Original file line number Diff line number Diff line change 66 - " *"
77
88jobs :
9+ test-with-php82 :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : docker-compose-run
14+ shell : bash
15+ run : |
16+ cp .github/workflows/Dockerfile-for-php-8.2 Dockerfile
17+ docker-compose up -d
18+ sleep 60
19+ docker-compose exec -T web sh -c "cd / && composer test"
20+
921 test-with-php81 :
1022 runs-on : ubuntu-latest
1123 steps :
1224 - uses : actions/checkout@v2
1325 - name : docker-compose-run
1426 shell : bash
1527 run : |
28+ cp .github/workflows/Dockerfile-for-php-8.1 Dockerfile
1629 docker-compose up -d
1730 sleep 60
1831 docker-compose exec -T web sh -c "cd / && composer test"
Original file line number Diff line number Diff line change 1- FROM --platform=linux/amd64 php:8.1 -apache
1+ FROM --platform=linux/amd64 php:8.2 -apache
22RUN apt-get update && apt-get install -y --no-install-recommends \
33 git \
44 iputils-ping \
You can’t perform that action at this time.
0 commit comments