File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build Develop
22
33on : [ push ]
44env :
5- COMPOSER_VERSION : ' 2.9.4 '
5+ COMPOSER_VERSION : ' 2.9.8 '
66 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
77jobs :
88 build :
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Build Swoole
33on : [ push ]
44env :
55 ENGINE : ' swoole'
6- SW_VERSION : ' v6.1.7 '
7- COMPOSER_VERSION : ' 2.9.4 '
6+ SW_VERSION : ' v6.2.1 '
7+ COMPOSER_VERSION : ' 2.9.8 '
88 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99 DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_ACCESSTOKEN }}
1010 CODING_PASSWORD : ${{ secrets.CODING_PASSWORD }}
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Build Swow
33on : [ push ]
44env :
55 ENGINE : ' swow'
6- SW_VERSION : ' v1.5.3 '
7- COMPOSER_VERSION : ' 2.9.4 '
6+ SW_VERSION : ' v1.6.2 '
7+ COMPOSER_VERSION : ' 2.9.8 '
88 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99 DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_ACCESSTOKEN }}
1010 CODING_PASSWORD : ${{ secrets.CODING_PASSWORD }}
Original file line number Diff line number Diff line change 11## How to build local
22
33``` shell
4- export PHP_VERSION=8.1 && export ALPINE_VERSION=3.18 && export SW_VERSION=5.0.3 && export COMPOSER_VERSION=2.6.4 && export PHP_BUILD_VERSION=81 && docker-compose build alpine-swoole
4+ export PHP_VERSION=8.4 && export ALPINE_VERSION=edge && export SW_VERSION=v6.2.1 && export COMPOSER_VERSION=2.9.8 && export PHP_BUILD_VERSION=84 && docker-compose build alpine-swoole
5+
56export PHP_VERSION=8.1 && export ALPINE_VERSION=3.18 && docker-compose build alpine-base
67```
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN set -ex \
3333 # install composer
3434 && wget -nv -O /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
3535 && chmod u+x /usr/local/bin/composer \
36+ && [ ! -f /usr/bin/php ] && cp /usr/bin/php${PHP_BUILD_VERSION} /usr/bin/php \
3637 # php info
3738 && php -v \
3839 && php -m \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
5454 # install composer
5555 && wget -nv -O /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
5656 && chmod u+x /usr/local/bin/composer \
57+ && [ ! -f /usr/bin/php ] && cp /usr/bin/php${PHP_BUILD_VERSION} /usr/bin/php \
5758 # ---------- clear works ----------
5859 && apk del .build-deps \
5960 && rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/local/bin/php* \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
5454 # install composer
5555 && wget -nv -O /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
5656 && chmod u+x /usr/local/bin/composer \
57+ && [ ! -f /usr/bin/php ] && cp /usr/bin/php${PHP_BUILD_VERSION} /usr/bin/php \
5758 # ---------- clear works ----------
5859 && apk del .build-deps \
5960 && rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/local/bin/php* \
You can’t perform that action at this time.
0 commit comments